Stack
docs/stack.md
¶
# Stack
A basic stack implementation using a Python list.
Features¶
- Push
- Pop
- Peek (top)
- Check empty
- Size
- Display
Class Overview¶
class Stack:
def __init__(self, para=[]):
self.stack = para
...