Stack Data Structure in Python | Part 1

Опубликовано: 01 Январь 1970
на канале: Albert Devshot
159
5

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


На этой странице сайта вы можете посмотреть видео онлайн Stack Data Structure in Python | Part 1 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Albert Devshot 01 Январь 1970, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 159 раз и оно понравилось 5 зрителям. Приятного просмотра!