Тёмный

Queues in 3 minutes 

Michael Sambol
Подписаться 117 тыс.
Просмотров 55 тыс.
50% 1

Queues in 3 minutes.
Code: github.com/msambol/dsa/blob/m...
Sources:
1. Introduction To Algorithms, Third Edition (CLRS) [www.amazon.com/Introduction-A...]
2. wiki.python.org/moin/TimeComp...
LinkedIn: / michael-sambol

Опубликовано:

 

8 июн 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@MichaelSambol
@MichaelSambol 2 года назад
I pronounced collections.deque wrong. It's "deck" not "de-queue." Thank you, @Herbal7ea!
@LucasPuskaric
@LucasPuskaric 2 года назад
I never knew that! Nice
@abx4t
@abx4t Год назад
Your pronunciations are both correct, depending on region and preference.
@Rob-J-BJJ
@Rob-J-BJJ 7 месяцев назад
tomato potato my boi
@haswanthsankar6639
@haswanthsankar6639 Год назад
Pov : You are pulling an all nighter
@ibukunokunoye4795
@ibukunokunoye4795 4 месяца назад
loll
@Elite1Percent
@Elite1Percent Месяц назад
Lmaooooo
@mohammedwissam2685
@mohammedwissam2685 2 дня назад
it's 4:09 am right now 🙃
@solszym
@solszym 2 года назад
Hello Micheal! I have just stumbled upon your videos from 10 years old and it seems like you have recently started to continue creating videos like this! Those videos always carry an essence of the problem. Please keep uploading!
@hariomsutar
@hariomsutar Год назад
You are awesome 👌
@leenalshouaibi9563
@leenalshouaibi9563 2 месяца назад
Amazing thanks!!
@SOHAMSARADE-vn6gv
@SOHAMSARADE-vn6gv 6 месяцев назад
Amazing content 🤘🏻💯 Great channel for quick revision of concepts😇😇 Keep going 👊😁
@dirk3494
@dirk3494 2 года назад
The return of the king.
@Chaos1king
@Chaos1king 8 месяцев назад
Amazing i instanzly understood that somehow
@thecoconutkid8416
@thecoconutkid8416 2 года назад
My guy, you should definitely do some more topics like drawing NFAs => DFAs, LR(1) parsing automatons => LALR(1) parsing automatons. just finished my languages course and had to rely on some random terrible videos to study. :^)
@lydiamiller7910
@lydiamiller7910 Месяц назад
This helped me, thank you!
@MichaelSambol
@MichaelSambol Месяц назад
You're welcome, Lydia!
@oddassembler
@oddassembler 2 года назад
It is so random to be doing this suddenly after so long. What is behind the spur of the moment motivation?
@MichaelSambol
@MichaelSambol 2 года назад
I got lazy. There's a lot more I want to make. Thanks for sticking with me. 🤙🏼
@linccodes
@linccodes 2 года назад
@@MichaelSambol love your honesty ❤️
@abx4t
@abx4t Год назад
I think it is critical to also mention Peek. My professor also hasn't mentioned it, and in my opinion, it is critical to using a queue. I can hardly imagine a queue that doesn't use it.
@MichaelSambol
@MichaelSambol Год назад
challenge for you :) add a PR implementing it on the repo: github.com/msambol/youtube/blob/master/data_structures/queue.py
@herbal7ea
@herbal7ea 2 года назад
Good video, simple and straight to the point. Just one suggestion: deque is pronounced "deck" and not "de-queue". It's a different data structure than queues, but using it in your queue is great for performance, as you say.
@MichaelSambol
@MichaelSambol 2 года назад
Shoot! Thank you.
@l_sx8722
@l_sx8722 2 года назад
Hi, could you make a video about binomial heaps?
@cinspectorblyatrussauttp4354
@cinspectorblyatrussauttp4354 2 месяца назад
Here's some psuedocode for Enqueue and Dequeue if anyone would like it: // IN PSUEDOCODE // DECLARTION OF VARIABLES DECLARE Queue : ARRAY[0:9] OF STRING DECLARE FrontPointer : INTEGER // Start of the queue DECLARE RearPointer : INTEGER // End of the queue DECLARE Length : INTEGER // Current size of the queue CONSTANT MaxLength = 10 // Max no of elements in the queue // Initialisation of variables FrontPointer
@Freez.F
@Freez.F Год назад
10-4
@funky-twig
@funky-twig 29 дней назад
Your back pointer is in the wrong place, it should start at the same place as the front pointer
Далее
Hash tables in 4 minutes
3:52
Просмотров 157 тыс.
Stacks in 3 minutes
2:59
Просмотров 26 тыс.
When You Get Ran Over By A Car...
00:15
Просмотров 3,7 млн
Queues in C Programming Language
6:54
Просмотров 13 тыс.
8 patterns to solve 80% Leetcode problems
7:30
Просмотров 208 тыс.
Big-O notation in 5 minutes
5:13
Просмотров 1,1 млн
Learn Stack data structures in 10 minutes 📚
10:07
Просмотров 188 тыс.
Linked lists in 4 minutes
4:22
Просмотров 61 тыс.
Introduction to Circular Queues
10:43
Просмотров 81 тыс.
When You Get Ran Over By A Car...
00:15
Просмотров 3,7 млн