Hash Tables - Data Structures and Algorithms

  Рет қаралды 36,979

Caleb Curry

Caleb Curry

4 жыл бұрын

Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
🐍 Python Course - calcur.tech/python-courses
✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
✉️ Newsletter - calcur.tech/newsletter
📸 Instagram - / calebcurry
🐦 Twitter - / calebcurry
🔗 LinkedIn - / calebcurry
▶️ Subscribe - calcur.tech/subscribe
👨🏻‍🎓 Courses - www.codebreakthrough.com
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
↪ My Amazon Store - www.amazon.com/shop/calebcurry
🅿 Patreon - calcur.tech/patreon-calebcurry
🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
Ⓟ Paypal - paypal.me/calcur
🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
📈 Buy Bitcoin - calcur.tech/crypto
Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto

Пікірлер: 91
@Sauce-ke
@Sauce-ke 3 жыл бұрын
“Theres also John Cena but you cant see him” HAHAHAHAHA I lost it right there lol.
@jasonitsme
@jasonitsme 3 жыл бұрын
Caleb is a man of culture xD
@MrSocialPirate
@MrSocialPirate 2 жыл бұрын
Literally just laughed out loud. xD
@coonnaarr1984
@coonnaarr1984 2 жыл бұрын
SCREAMER
@salonisharma1318
@salonisharma1318 2 жыл бұрын
Even I lost it too, I was not expecting this😂😂
@luisveliz1806
@luisveliz1806 Жыл бұрын
HAHA I laughed a lot too!
@SSMLivingPictures
@SSMLivingPictures 4 жыл бұрын
Simply the most clear, concise and amiable programming instructor in my experience. I'm working through his Java and C# courses and he makes it fun and I'm learning at an unprecedented rate. Many digi-high fives to you Caleb.
@eleanorcarrano6316
@eleanorcarrano6316 9 күн бұрын
Thank you, this really helped, as my main question about this was how a hash table differs from a normal array. I kept asking why we needed to come up with another way of looking things up if we already knew the index number, but I guess we don't always know that! So finding a way to basically use the data to index itself is useful!
@pg.n5694
@pg.n5694 3 жыл бұрын
i pressed like immediately after hearing - “There's also John Cena but you cant see him” . LOVED IT
@abdi.
@abdi. 3 жыл бұрын
same lol!!!
@bell5503
@bell5503 Жыл бұрын
😂
@keelnu
@keelnu 3 жыл бұрын
Caleb - I love your videos. Your explanation of what hash tables are and how they work (and not just how to use them) helped me a ton. Keep up the great work!
@yuhema11
@yuhema11 2 жыл бұрын
Thank you so much sir! I watched a bunch of videos about hash tables on KZbin and yours is the most comprehensive one! Super clear and easy to follow! Good job!
@antonlinden5216
@antonlinden5216 3 жыл бұрын
Great video! Caleb, perfect for my algorithms course at uni. The method you resolved the collision is called hash chaining if anyone is wondering. As you said, there is a whole lot of different methods to solve a has collision.
@bonjourserge
@bonjourserge Жыл бұрын
You're the man, Caleb. Thank you for sharing your knowledge with us. You're a great teacher.
@g.ryanpeterson9686
@g.ryanpeterson9686 Жыл бұрын
Love your teaching style, Caleb! You make it very clear.
@rugmaable
@rugmaable 11 ай бұрын
you just explain with a sense of humor. I couldn't hold myself when he said" if you haven't been following on the linked list, face the consquenses." hahahahah. Job well done Caleb. You always have a way of explaining complex concepts
@aaronroyan4021
@aaronroyan4021 3 жыл бұрын
Hey Caleb could you do a small video on the difference between HashTable, HashMap and HashSet It would be much appreciated Cheers mate
@parantikaghosh4396
@parantikaghosh4396 2 жыл бұрын
You're the best teacher I ever got for Python, I can't thank you enough for all the videos!!!
@atnodc
@atnodc 3 жыл бұрын
Really Great Series, really good work. well done.
@saharchegeni6154
@saharchegeni6154 8 ай бұрын
Finally understood what hash table is, thanks Caleb
@RaGa_BABA
@RaGa_BABA 3 жыл бұрын
I dont understand why your videos have less views...you deserve far better
@husseinhassan2389
@husseinhassan2389 4 жыл бұрын
Really good explanation Keep it up!
@frankdong8582
@frankdong8582 Жыл бұрын
after so many classes I've watchd, yours is the best! :)
@baaqarnaqi4801
@baaqarnaqi4801 Жыл бұрын
Thanks for the explanation!
@javlontursunov6527
@javlontursunov6527 2 жыл бұрын
Man thank you, great lecture.
@nalininadupalli3131
@nalininadupalli3131 Жыл бұрын
Hi, thanks so much for a great video! I see that Dictionaries in Python are used for both Hash Tables and Hash maps. Can you please explain what's the difference theoretically (in CS) between HashTables and Hash Maps and also specifically in Python how dictionary DS can be used for both of them? Thank you so much in advance! greatly appreciate it!
@theteacher010
@theteacher010 3 жыл бұрын
19:00 How does the algorithm know after being passed through the Hash Function that it really doesn't want John, and that it wants the next person down the linked list? How would it know if John was the right one?
@nishantkamboj5973
@nishantkamboj5973 3 жыл бұрын
Hey, it has the key name. Key is always unique in hashtable so it matches the key name in the linked list untill it finds the match. Let me know if you have any confusion. Happy Coding.
@gregf9160
@gregf9160 3 жыл бұрын
"We don't want John. John smells weird" -- oh, honey, tell me about it! This fella is pure gold.
@simaoalicechen2448
@simaoalicechen2448 3 жыл бұрын
Very funny and good video. Good job!
@deb5976
@deb5976 Жыл бұрын
Great video!
@CamFocusApp
@CamFocusApp Жыл бұрын
I love you man, thanks for this
@GnarlyGooch
@GnarlyGooch 2 жыл бұрын
Cheers mate!
@look9963
@look9963 6 ай бұрын
Perfect thank you ❤
@wissalelamoury473
@wissalelamoury473 7 ай бұрын
i like how i can learn and have fun at the same time
@heyjulyabas1681
@heyjulyabas1681 3 жыл бұрын
THANK YOU..
@ChadTower
@ChadTower 2 жыл бұрын
You can typically see John Cena if you pass by reference, I think. You don't have to see him straight on.
@ChadTower
@ChadTower 2 жыл бұрын
OH NO I WAS WRONG John ended up in index 4 with a key of 664.
@clo-1588
@clo-1588 2 жыл бұрын
you're very good, I like your videos a lot. They are well explained but they also make me laugh :)
@rychubagaznik9246
@rychubagaznik9246 3 ай бұрын
thank you!
@muhammadaarizmarzuq295
@muhammadaarizmarzuq295 2 жыл бұрын
"There's also John Cena, we can't see him", perfection
@user-py8bq2pk1h
@user-py8bq2pk1h Жыл бұрын
you are really the best
@zeamanualfeleke8716
@zeamanualfeleke8716 2 жыл бұрын
You're the best teacher
@Layarion
@Layarion 2 жыл бұрын
Please explain, c# is my language, how a hash table differs from a Dictionary class?
@luckylep09
@luckylep09 3 жыл бұрын
Thanks chef Curry
@ddimwhite4638
@ddimwhite4638 3 жыл бұрын
Хороший видос. Как, впрочем, и остальные его видео.
@daresdares9181
@daresdares9181 2 жыл бұрын
great video
@stickmanbattle997
@stickmanbattle997 2 жыл бұрын
I loved how caleb act when he want to insert ellen 😂
@programmonky2505
@programmonky2505 Жыл бұрын
nice....Feels like you are learning how to write with left hand
@reccarefe
@reccarefe 3 жыл бұрын
What is the worst-case running time for inserting n key-value pairs into an initially empty map that is implemented with a list?
@stevenchris8060
@stevenchris8060 2 жыл бұрын
No clue
@ButerWarrior44
@ButerWarrior44 2 жыл бұрын
i think O(n)
@jackmadsen95
@jackmadsen95 2 ай бұрын
caleb curry is the goat
@vikramjitsingh109
@vikramjitsingh109 Жыл бұрын
I liked your video as soon as possible after hearing the Cena joke.
@goodknight3072
@goodknight3072 2 жыл бұрын
14:06 6 goes into 660 eleven times. I know what you did there, but still funny.
@isaiassalles1180
@isaiassalles1180 2 жыл бұрын
16:35 that is a hell of an actor ladies and gentlemen
@kristaqvin
@kristaqvin 2 жыл бұрын
😂
@roshinsoni
@roshinsoni 2 жыл бұрын
2:07 underrated joke xD
@LawrenceAaronLuther
@LawrenceAaronLuther 2 ай бұрын
ah, fellow lefty, the legible but pitifully average handwriting hits close to home. however the explanation was exceptional, many thanks
@user-yd9xy3rb4x
@user-yd9xy3rb4x 2 жыл бұрын
16: 44 HAHAHA!!!
@giovannamunoz1120
@giovannamunoz1120 2 жыл бұрын
I hope I don't explode during my tech interview tomorrow :ooo
@fernandomendieta5463
@fernandomendieta5463 2 жыл бұрын
bro you are just a semi-god
@dnlbellfield
@dnlbellfield 3 жыл бұрын
8:23
@jmerrick298
@jmerrick298 Жыл бұрын
Great way of teaching, its all clear. Say hi to John Cena
@sathishkumar2852
@sathishkumar2852 2 жыл бұрын
👏👏👏
@basudevadhikari22
@basudevadhikari22 Жыл бұрын
2:09 I paused there for a second.
@onnbasiran9534
@onnbasiran9534 3 жыл бұрын
i really can't get.. how "664 % 6 (664 modulus 6) you can get 4. I need more explanation. Tqvm indeed
@SuperOnlyP
@SuperOnlyP 2 жыл бұрын
it is like: 664 | 6 660 | 110 - 6 divide by 6 = 1 - 6 divide by 6 = 1 - 4 divide by 6 = 0 => 664 - 660 = 4 is the remainder
@BrianKabonyo
@BrianKabonyo 8 ай бұрын
Modulus is just the remainder...ignore everything else.
@asfarjamil8289
@asfarjamil8289 Жыл бұрын
Great vid! I'll let you probe me any day Caleb.
@webrevolution.
@webrevolution. 2 жыл бұрын
14:10 6 goes into 660 eleven times? How?
@BrianKabonyo
@BrianKabonyo 8 ай бұрын
110 times. He made a mistake but the remainder is still 4 so doesn't affect anything.
@webrevolution.
@webrevolution. 8 ай бұрын
@@BrianKabonyo I was pointing out the mistake. Having the result casually be correct is just fortunate. Like taking an multiple choice exam and giving the correct answer by chance, not cause you got there by yourself.
@ayubaalim2201
@ayubaalim2201 3 жыл бұрын
my DREAMS from Somalia
@shehtabmasud9612
@shehtabmasud9612 Жыл бұрын
FACE THE CONSEQUENCES😂
@georios
@georios 7 ай бұрын
you get a like for the john cena joke
@anthonygonsalvis121
@anthonygonsalvis121 3 жыл бұрын
"That's why all that linked list garbage is now useful..." such a humble dork ;-)
@ShishirHank21
@ShishirHank21 4 жыл бұрын
FIRST VIEW!
@zainabfahim8714
@zainabfahim8714 2 жыл бұрын
"fAcE yOuR ConSeQuEnCeS"
@zainabfahim8714
@zainabfahim8714 2 жыл бұрын
Or you'll get some linear probing 😂
@zahram2018
@zahram2018 Жыл бұрын
I subscribed because of the John Cena joke
@zainabfahim8714
@zainabfahim8714 2 жыл бұрын
O of N that's gross
@tibettenballs4962
@tibettenballs4962 3 жыл бұрын
Did you go through speech therapy for stuttering?
@zainabfahim8714
@zainabfahim8714 2 жыл бұрын
I don't like probe
@Yash42189
@Yash42189 9 ай бұрын
lol ure so sassy
@sunstrike8943
@sunstrike8943 4 жыл бұрын
second view
@jeremymoore5080
@jeremymoore5080 3 жыл бұрын
John smells weird
@baaqarnaqi4801
@baaqarnaqi4801 Жыл бұрын
Thanks for the explanation!
Introduction to Sets - Data Structures and Algorithms
12:56
Caleb Curry
Рет қаралды 13 М.
Introduction to Stacks - Data Structures and Algorithms
14:53
Caleb Curry
Рет қаралды 20 М.
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 77 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 6 МЛН
Understanding and implementing a Hash Table (in C)
24:54
Jacob Sorber
Рет қаралды 342 М.
Hash Tables - CS50 Shorts
18:47
CS50
Рет қаралды 142 М.
Hash Tables and Hash Functions
13:56
Computer Science
Рет қаралды 1,5 МЛН
Introduction to Linked Lists - Data Structures and Algorithms
22:00
A better hash table (in C)
41:20
Jacob Sorber
Рет қаралды 26 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 520 М.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 282 М.
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,4 МЛН
Что не так с Sharp? #sharp
0:55
Не шарю!
Рет қаралды 132 М.
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 1,1 МЛН