Stack
Push and pop at the same end: the last value in is the first value out.
Operations3, 8, 5, pop, peek, 7, pop, pop
Start with an empty stack.
- compare
- swap or write
- settled
Space play · ← → step · Home End jump · drag the strip to scrub
Push and pop at the same end: the last value in is the first value out.
Operations3, 8, 5, pop, peek, 7, pop, pop
Start with an empty stack.
Space play · ← → step · Home End jump · drag the strip to scrub