Stack, Array, and linked list are linear data structures
Stack operations (LIFO):
1 - Push
2 - Pop
3 - Peek/Top: returns the last element without removing it
4 - Check if the stack is empty -> boolean
5 - Check Size
6 - Check if the stack is full
Top comments (0)