Stack Data Structure: Coding Tutorials by Umar Khan

Опубликовано: 05 Июль 2022
на канале: Coding Tutorials by Umar Khan
92
5

In this video, you will learn to implement a stack data structure by using both an array and a singly linked list in Java.

Think of a stack as behaving like a stack of plates. If you start placing dinner plates on your kitchen counter - one at a time and each on top of the previous plate - then when it comes time to remove those plates (again, one at a time), you will remove them beginning with the last one that you put onto the stack (the one on top). So, a stack is what is called a "last-in, first-out" data structure.

Stacks are important to understand and by creating one from scratch, you will gain insight into writing algorithms around data structures that produce behaviors you may need in future applications. The final files of this project are at the link below; thanks for watching!

-------------------------------------

Link to files:

https://github.com/u-khan-dev/stack


На этой странице сайта вы можете посмотреть видео онлайн Stack Data Structure: Coding Tutorials by Umar Khan длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Coding Tutorials by Umar Khan 05 Июль 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 92 раз и оно понравилось 5 зрителям. Приятного просмотра!