Queue Data Structure: Coding Tutorials by Umar Khan

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

In this video, you will learn about another fundamental data structure known as a queue. Unlike a stack, which is a last in, first out (LIFO) structure, a queue is a first in, first out structure - like a line at a bank. The first customer in line at a bank is the first one served and the first to exit the queue.

A queue is used in several places in computing technology. For example, a queue could be used for CPU scheduling or handling website traffic. Imagine if a bunch of page requests hit a server around the same time and the last person to submit a request was the first to have that request fulfilled. That's what would happen if a stack was used in that context and users would not be happy. The queue is the answer to that problem.

We'll code in Python for this tutorial and all final files can be accessed at the link below.

Thanks for watching!

--------------------------------------------------------
Link to completed files:

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


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