Stacks & Queues
Two humble rules, LIFO and FIFO, doing surprisingly heavy lifting.
Stacks & Queues progress0 / 5
- Stack BasicsLast one in is the first one out.4m
- Valid ParenthesesA closing bracket must answer the newest opening one.5m
- Queue BasicsFirst one in is the first one out.4m
- Queue From Two StacksReverse a reversal and LIFO turns into FIFO.5m
- Monotonic StackKeep the stack ordered and every item waits only once.6m