Lingo

Stack Playground

Push and pop values and watch the top of the stack move back and forth.

Operations

Last in, first out. Both operations touch one end of the array, so both are O(1).

·
·
·
·
·
·
·
·

Add a value to begin.

0/8Occupied
0Added
0Probes
Operation log
  • Empty.