Queue - Data Structures & Algorithms Tutorials In Python #8

Pubblicato il: 19 aprile 2020
sul canale di: 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  


In questa pagina del sito puoi guardare il video online Queue - Data Structures & Algorithms Tutorials In Python #8 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato codebasics 19 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 191,654 volte e gli è piaciuto 2.8 mille spettatori. Buona visione!