In this video, you are going to learn how to implement Stack Data Structure in Python. A stack is essentially a linear data structure that follows the Last In First Out Method(LIFO) method. To visualize a stack you can think of a collection of books as a stack. When you add a book to the stack, you add it to the top. And when remove a book from the stack, you will remove the top book in the stack.
Timestamps:
0:00 What are stack data structures
1:35 Constructor / Storage and Count
2:12 Push Method
3:06 Pop Method
4:32 Peek Method
5:10 Size Method
5:50 Testing
On this page of the site you can watch the video online Stack Data Structure in Python | Part 1 with a duration of hours minute second in good quality, which was uploaded by the user Albert Devshot 01 January 1970, share the link with friends and acquaintances, this video has already been watched 159 times on youtube and it was liked by 5 viewers. Enjoy your viewing!