Hash Tables - Data Structures and Algorithms

  Рет қаралды 38,123

Caleb Curry

Caleb Curry

Күн бұрын

Start your software dev career - calcur.tech/de... 💯 FREE Courses (100+ hours) - calcur.tech/al...
🐍 Python Course - calcur.tech/py...
✅ Data Structures & Algorithms - calcur.tech/ds...
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
✉️ Newsletter - calcur.tech/ne...
📸 Instagram - / calebcurry
🐦 Twitter - / calebcurry
🔗 LinkedIn - / calebcurry
▶️ Subscribe - calcur.tech/sub...
👨🏻‍🎓 Courses - www.codebreakt...
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
↪ My Amazon Store - www.amazon.com...
🅿 Patreon - calcur.tech/pat...
🅖 GitHub Sponsors - github.com/spo...
Ⓟ Paypal - paypal.me/calcur
🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
📈 Buy Bitcoin - calcur.tech/cr...
Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/cr...

Пікірлер: 92
@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 3 жыл бұрын
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!
@g.ryanpeterson9686
@g.ryanpeterson9686 2 жыл бұрын
Love your teaching style, Caleb! You make it very clear.
@baaqarnaqi4801
@baaqarnaqi4801 Жыл бұрын
Thanks for the explanation!
@factwithhunny078
@factwithhunny078 Жыл бұрын
16:38 is was nyc expression
@look9963
@look9963 9 ай бұрын
Perfect thank you ❤
@Layarion
@Layarion 2 жыл бұрын
Please explain, c# is my language, how a hash table differs from a Dictionary class?
@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.
@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 3 жыл бұрын
No clue
@ButerWarrior44
@ButerWarrior44 2 жыл бұрын
i think O(n)
@dnlbellfield
@dnlbellfield 3 жыл бұрын
8:23
@jmerrick298
@jmerrick298 Жыл бұрын
Great way of teaching, its all clear. Say hi to John Cena
@zahram2018
@zahram2018 Жыл бұрын
I subscribed because of the John Cena joke
@zainabfahim8714
@zainabfahim8714 2 жыл бұрын
Or you'll get some linear probing 😂
@jeremymoore5080
@jeremymoore5080 3 жыл бұрын
John smells weird
@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 Жыл бұрын
😂
@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.
@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.
@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
@RaGa_BABA
@RaGa_BABA 4 жыл бұрын
I dont understand why your videos have less views...you deserve far better
@rugmaable
@rugmaable Жыл бұрын
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
@eleanorcarrano6316
@eleanorcarrano6316 3 ай бұрын
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!
@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.
@goodknight3072
@goodknight3072 3 жыл бұрын
14:06 6 goes into 660 eleven times. I know what you did there, but still funny.
@LawrenceAaronLuther
@LawrenceAaronLuther 5 ай бұрын
ah, fellow lefty, the legible but pitifully average handwriting hits close to home. however the explanation was exceptional, many thanks
@bonjourserge
@bonjourserge Жыл бұрын
You're the man, Caleb. Thank you for sharing your knowledge with us. You're a great teacher.
@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!
@ayubaalim2201
@ayubaalim2201 3 жыл бұрын
my DREAMS from Somalia
@gregf9160
@gregf9160 4 жыл бұрын
"We don't want John. John smells weird" -- oh, honey, tell me about it! This fella is pure gold.
@parantikaghosh4396
@parantikaghosh4396 2 жыл бұрын
You're the best teacher I ever got for Python, I can't thank you enough for all the videos!!!
@vikramjitsingh109
@vikramjitsingh109 2 жыл бұрын
I liked your video as soon as possible after hearing the Cena joke.
@programmonky2505
@programmonky2505 2 жыл бұрын
nice....Feels like you are learning how to write with left hand
@giovannamunoz1120
@giovannamunoz1120 2 жыл бұрын
I hope I don't explode during my tech interview tomorrow :ooo
@muhammadaarizmarzuq295
@muhammadaarizmarzuq295 2 жыл бұрын
"There's also John Cena, we can't see him", perfection
@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!
@asfarjamil8289
@asfarjamil8289 Жыл бұрын
Great vid! I'll let you probe me any day Caleb.
@wissalelamoury473
@wissalelamoury473 10 ай бұрын
i like how i can learn and have fun at the same time
@CamFocusApp
@CamFocusApp Жыл бұрын
I love you man, thanks for this
@baaqarnaqi4801
@baaqarnaqi4801 Жыл бұрын
Thanks for the explanation!
@georios
@georios 10 ай бұрын
you get a like for the john cena joke
@zainabfahim8714
@zainabfahim8714 2 жыл бұрын
"fAcE yOuR ConSeQuEnCeS"
@jackmadsen95
@jackmadsen95 5 ай бұрын
caleb curry is the goat
@basudevadhikari22
@basudevadhikari22 2 жыл бұрын
2:09 I paused there for a second.
@Денис-ж3ф5р
@Денис-ж3ф5р 2 жыл бұрын
16: 44 HAHAHA!!!
@valkiriaaquatica
@valkiriaaquatica 2 жыл бұрын
bro you are just a semi-god
@roshinsoni
@roshinsoni 2 жыл бұрын
2:07 underrated joke xD
@zainabfahim8714
@zainabfahim8714 2 жыл бұрын
I don't like probe
@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!
@shehtabmasud9612
@shehtabmasud9612 Жыл бұрын
FACE THE CONSEQUENCES😂
@husseinhassan2389
@husseinhassan2389 4 жыл бұрын
Really good explanation Keep it up!
@波吉-n1y
@波吉-n1y 2 жыл бұрын
you are really the best
@rychubagaznik9246
@rychubagaznik9246 6 ай бұрын
thank you!
@zainabfahim8714
@zainabfahim8714 2 жыл бұрын
O of N that's gross
@Yash42189
@Yash42189 Жыл бұрын
lol ure so sassy
@atnodc
@atnodc 3 жыл бұрын
Really Great Series, really good work. well done.
@isaiassalles1180
@isaiassalles1180 2 жыл бұрын
16:35 that is a hell of an actor ladies and gentlemen
@kristaqvin
@kristaqvin 2 жыл бұрын
😂
@ShishirHank21
@ShishirHank21 4 жыл бұрын
FIRST VIEW!
@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 :)
@saharchegeni6154
@saharchegeni6154 11 ай бұрын
Finally understood what hash table is, thanks Caleb
@frankdong8582
@frankdong8582 2 жыл бұрын
after so many classes I've watchd, yours is the best! :)
@stickmanbattle997
@stickmanbattle997 2 жыл бұрын
I loved how caleb act when he want to insert ellen 😂
@webrevolution.
@webrevolution. 2 жыл бұрын
14:10 6 goes into 660 eleven times? How?
@BrianKabonyo
@BrianKabonyo 11 ай бұрын
110 times. He made a mistake but the remainder is still 4 so doesn't affect anything.
@webrevolution.
@webrevolution. 11 ай бұрын
@@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.
@luckylep09
@luckylep09 3 жыл бұрын
Thanks chef Curry
@javlontursunov6527
@javlontursunov6527 2 жыл бұрын
Man thank you, great lecture.
@zeamanualfeleke8716
@zeamanualfeleke8716 2 жыл бұрын
You're the best teacher
@anthonygonsalvis121
@anthonygonsalvis121 3 жыл бұрын
"That's why all that linked list garbage is now useful..." such a humble dork ;-)
@deb5976
@deb5976 2 жыл бұрын
Great video!
@GnarlyGooch
@GnarlyGooch 2 жыл бұрын
Cheers mate!
@daresdares9181
@daresdares9181 2 жыл бұрын
great video
@sathishkumar2852
@sathishkumar2852 2 жыл бұрын
👏👏👏
@heyjulyabas1681
@heyjulyabas1681 3 жыл бұрын
THANK YOU..
@simaoalicechen2448
@simaoalicechen2448 3 жыл бұрын
Very funny and good video. Good job!
@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 11 ай бұрын
Modulus is just the remainder...ignore everything else.
@ddimwhite4638
@ddimwhite4638 4 жыл бұрын
Хороший видос. Как, впрочем, и остальные его видео.
@sunstrike8943
@sunstrike8943 4 жыл бұрын
second view
@tibettenballs4962
@tibettenballs4962 3 жыл бұрын
Did you go through speech therapy for stuttering?
Introduction to Sets - Data Structures and Algorithms
12:56
Caleb Curry
Рет қаралды 14 М.
Ozoda - Lada (Official Music Video)
06:07
Ozoda
Рет қаралды 13 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 22 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 57 МЛН
Introduction to Stacks - Data Structures and Algorithms
13:54
Caleb Curry
Рет қаралды 20 М.
Hash Tables and Hash Functions
13:56
Computer Science
Рет қаралды 1,6 МЛН
SHA: Secure Hashing Algorithm - Computerphile
10:21
Computerphile
Рет қаралды 1,2 МЛН
Introduction to Linked Lists - Data Structures and Algorithms
21:20
Understanding and implementing a Hash Table (in C)
24:54
Jacob Sorber
Рет қаралды 355 М.
Introduction to Data Structures and Algorithms
18:59
Caleb Curry
Рет қаралды 160 М.
A better hash table (in C)
41:20
Jacob Sorber
Рет қаралды 29 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 82 М.
Ozoda - Lada (Official Music Video)
06:07
Ozoda
Рет қаралды 13 МЛН