Stack (LIFO)
Ready
O(1)
O(n)
0
Choose an operation and execute it to see how the stack behaves. Push adds elements to the top, Pop removes from the top, and Peek shows the top element.