Stack is a very important data structure in any programming language. In this data structure tutorial, we will discuss what is stack and implement stack in python using a list and collections.deque. In the end there are couple of exercises for you to solve.
00:14 What is stack?
04:51 Stack in different languages
05:06 Using list as a stack
07:50 Using deque as a stack