Queue - Data Structures & Algorithms Tutorials In Python #8

Publicado el: 19 abril 2020
en el canal de: 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  


En esta página del sitio puede ver el video en línea Queue - Data Structures & Algorithms Tutorials In Python #8 de Duración hora minuto segunda en buena calidad , que subió el usuario codebasics 19 abril 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 191,654 veces y le gustó 2.8 mil a los espectadores. Disfruta viendo!