Where the data lives: arrays, lists, stacks and queuesLesson 6 of 10
Stacks and queues: which end comes out
Sumon's top box is a stack and the hub's waiting orders a queue. Costs on both structures, and the link to BFS and DFS.
Locked
Unlock the rest of Algorithms and Data Structures: what everything costs.
- Every lesson, every resource, unlocked instantly.
- Track progress and pick up where you left off.
- Free preview lessons stay readable from the outline.