MCPcopy Create free account
hub / github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice / Stack.py

File Stack.py

Data Structures/Stack/Python/Stack.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#A stack is a linear data structure that stores items in a Last-In/First-Out (LIFO) or First-In/Last-Out (FILO) manner
2
3class Node:
4 def __init__(self, data):

Callers

nothing calls this directly

Calls 6

StackClass · 0.85
printFunction · 0.50
pushMethod · 0.45
displayMethod · 0.45
popMethod · 0.45
topMethod · 0.45

Tested by

no test coverage detected