Lesson 57 of 62 ยท about 18 minutes
Stacks, Queues and Heaps ๐ฅ
Stacks, Queues and Heaps ๐ฅ Some problems are all about order : undo the last thing, serve whoever came first, always deal with the most urgent job next. Three classic data structures handle these, and Python has fast versions of all of them built in. Stack:โฆ
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.