Queue - Data Structures & Algorithms Tutorials In Python #8

Опубликовано: 19 Апрель 2020
на канале: codebasics
191,654
2.8k

Queue data structure is first in first out data structure also known as FIFO. It can be used at many places typically for a producer consumer type of architecture where one component is producing information and other components are consuming them. Queue allows us to implement loosely coupled architecture which has many benefits. I've explained that by using example of new york stock exchange sharing stock price information with yahoo finanace or google finance portals. We will also implement Queue using collections.deque in python. At the end we have an interesting exercise for you to solve.
Code in this tutorial: https://github.com/codebasics/data-st...
Exercise: https://github.com/codebasics/data-st...

Topics
00:00 Stock price exchange without Queue
02:57 Stock price exchange using Queue
05:12 Queue classes in different programming languages
05:45 List as Queue in python
07:55 collections.deque as Queue
12:58 Exercise

#datastructures #algorithms #python

Do you want to learn technology from me? Check https://codebasics.io/ for my affordable video courses.

Next Video:    • Tree (General Tree) - Data Structures & Al...  
Previous video:    • Stack - Data Structures & Algorithms Tutor...  
Complete playlist:   • Data Structures And Algorithms In Python  

Website: https://codebasics.io/
Facebook:   / codebasicshub  
Twitter:   / codebasicshub  


На этой странице сайта вы можете посмотреть видео онлайн Queue - Data Structures & Algorithms Tutorials In Python #8 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь codebasics 19 Апрель 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 191,654 раз и оно понравилось 2.8 тысяч зрителям. Приятного просмотра!