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
Sur cette page du site, vous pouvez voir la vidéo en ligne Queue - Data Structures & Algorithms Tutorials In Python #8 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur codebasics 19 avril 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 191,654 fois et il a aimé 2.8 mille téléspectateurs. Bon visionnage!