01. Internal Working of HashMap & Java-8 Enhancement

  Рет қаралды 114,863

Ankit Wasankar

Ankit Wasankar

Күн бұрын

Пікірлер: 218
@evgenii550
@evgenii550 Жыл бұрын
you said that the capacity will be increased if 12 buckets will be full (for initial capacity = 16), but if i try to use class, which hashCode() always returns 1, as a key, then all the new pairs will be stored in one bucket with index 1 and according to debugging the capacity will still be increased. doesn't this mean that the load factor depends on the number of pairs in the hash map? not on the number of buckets with pairs
@ankit.wasankar
@ankit.wasankar Жыл бұрын
ah good catch, let me pin 📌 this post. thanks for your comment.
@cyberulitka4661
@cyberulitka4661 Жыл бұрын
thank you for your comment! good point!
@ukj6795
@ukj6795 8 ай бұрын
nice observation, thanks for sharing this
@dhanashreekamali3185
@dhanashreekamali3185 6 ай бұрын
Is loadfactor depending on number of entries in Hashmap? @webencyclop (if not what is the meaning of pairs here? what does this pair signify?)
@pratikbhange2757
@pratikbhange2757 6 ай бұрын
​@@dhanashreekamali3185key and value😊
@yogeshpawarvlogs527
@yogeshpawarvlogs527 3 жыл бұрын
The way he represents the data is phenomenal... Thums up for his presentation. 👍👍👍
@pratikjagadale3216
@pratikjagadale3216 3 жыл бұрын
Tried a lot on the internet to understand hashmap working ... finally brother understood from your video👍👍👍
@maheshchennamsetti549
@maheshchennamsetti549 2 жыл бұрын
I have seen many videos but I am wasn't satisfied with any of them .After seeing this video I got an absolute clarity thanks to this man for explaining in such a detailed way.
@aniruddhachunne3011
@aniruddhachunne3011 2 жыл бұрын
Superb.... you are the best.... god bless you
@a_r_c_h_a_n_a
@a_r_c_h_a_n_a Жыл бұрын
Till now i have seen so many videos about the HashMap collision, this is one which explains every thing without any chance of doubt. Great great Job..........!!!🤩
@ankit.wasankar
@ankit.wasankar Жыл бұрын
thank you..
@manishpatidar5379
@manishpatidar5379 3 жыл бұрын
Picturial representation makes this videos excellent... It will be easy to remember the flow chart
@resh9906
@resh9906 2 жыл бұрын
Best explanation for hashmap. Thanks!
@gudesreekanth6373
@gudesreekanth6373 3 жыл бұрын
Best explanation so far in youtube on hashmap internal working... Nice buddy!! Appreciate your effort ...
@snehasavane9141
@snehasavane9141 2 жыл бұрын
very neatly explained basics of working of hashmap,linkedlist,tree
@shyamvittal
@shyamvittal 2 жыл бұрын
One word... "AWESOME"
@monaliparihar5138
@monaliparihar5138 2 жыл бұрын
One of the best tutorial …. Thank you
@AzeriFire
@AzeriFire 2 жыл бұрын
I have never seen such detailed tutorial about the hashmap! I want to thank you, even I knew how it works.
@tunghoang9373
@tunghoang9373 3 жыл бұрын
Thanks from a user from Viet Nam Your explanation was so easy to understand although it's hard to understand your english as much :)
@aniketbharsakale2561
@aniketbharsakale2561 3 жыл бұрын
Your pictorial representations, the images & the color that's choosen for slides, the way you have explained it so neatly, its commendable. You have simplified a tough concept and making complex things look simple is an art. Great job. Good going!
@ankit.wasankar
@ankit.wasankar 3 жыл бұрын
Thanks a lot for praise & motivation!
@saikumartalluri8476
@saikumartalluri8476 2 жыл бұрын
@@ankit.wasankar Please upload more videos ... Very much helpful. Thanks.
@rekhaagroya1982
@rekhaagroya1982 2 жыл бұрын
Agree.
@VishalRaj-wu8il
@VishalRaj-wu8il 7 ай бұрын
best video on HashMap internal working and loved your content.thank you for such great content.😊
@imanidesireejones9684
@imanidesireejones9684 2 жыл бұрын
wow so easy to understand. I like how you actually explain certain keywords instead of grazing over concepts. this was so helpful thank you!
@haihellonamastey
@haihellonamastey 2 жыл бұрын
crystal clear explaination👌👌👌
@ahir_shubham
@ahir_shubham 3 жыл бұрын
Beautiful explanation with specially the images...felt very comfortable to understand...Keep going...Thankyou!
@yusufsaifi3108
@yusufsaifi3108 3 жыл бұрын
Plz make full collection type video ur way of represente slide in pictorial way is wonder full .keep it up......
@nandanpatil299
@nandanpatil299 2 жыл бұрын
Best Representation, Really helpful, request to you please create video on "Internal working of HashSet"...
@lavanyapadma3024
@lavanyapadma3024 2 жыл бұрын
Best Explanation ever…have seen so many videos but this is the best, Thank you 🙏
@Veronica-vq5iz
@Veronica-vq5iz 2 жыл бұрын
Wow, you explained it so well, I have watched so many tutorials for this concept and never had this deep understanding. Thank u so much.
@nitincareer9190
@nitincareer9190 3 жыл бұрын
Excellent video on Hashmap so far, keep doing more like this.
@shilpakothre4893
@shilpakothre4893 3 жыл бұрын
Thank u for explaining in such a wonderful way. Before watching this video I have lot of confusion in this topic. This clear my all doubts.
@dhananajaykrishna8259
@dhananajaykrishna8259 4 жыл бұрын
Best video on working of Hashmap . Also the treeify threshold concept is well explained. Thank you!!
@apurvaRTink
@apurvaRTink 2 жыл бұрын
Thank you sooo much because of your this video i understood the internal working of hashmap after so many days. Nice explaination...🙏🙏
@ganeshkulkarni9648
@ganeshkulkarni9648 2 жыл бұрын
Wow, what a prefect explanation it was. Thanks a lot man for this smooth explanation, We're looking forward for many videos, but you have stopped posting it.
@monikapreethi4847
@monikapreethi4847 2 жыл бұрын
thankyou so much. its really excellent explanation with neat slides, think your the best tutor to explain the concept in a simplified manner. I think its the best video on hash map .
@AkhileshKumar-li6me
@AkhileshKumar-li6me 8 ай бұрын
Kindly note that when hashmap is passed the duplicate key, it calls the hashCode() method to generate the hash value for the key and this hash value helps in determining where to put this new entry but since this index/position already has one entry. Since each bucket stores the entry/ies in the form of a linked list so new entry will be added at the top/right end of the linked list. The same logic will be applied if another duplicate key arrives. Please note, when we try to retrieve the value by passing the key(which is duplicate in nature), hashmap goes to the appropriate index by calculating the hash value and traverses the linked list, and returns the most recent value as all the keys are same.
@anilmaurya55
@anilmaurya55 2 жыл бұрын
Sir your teaching is so good and simple and so effective...
@pawankumar-ez9mf
@pawankumar-ez9mf 2 жыл бұрын
Very good explaining not able to find anywhere else
@dipalijibhakate2815
@dipalijibhakate2815 8 ай бұрын
A great explanation ,one of the best video till now i watched on Hashmap internal...Thank you for sharing a such content😊
@mit1696
@mit1696 2 жыл бұрын
Awesome Explanation
@kumarprakash93
@kumarprakash93 2 жыл бұрын
Appreciated the way you explained the concept. Thank you.
@shrutithanekar3464
@shrutithanekar3464 2 жыл бұрын
Thank you so much for this video I was actually able to visualise internal structure of the hashmap
@parambharti7095
@parambharti7095 3 жыл бұрын
Great explanations. Thanks !! Please keep making more videos. Nice way of teaching.
@IZZY3201
@IZZY3201 3 жыл бұрын
Amazing explanation👍👍
@Shaanku
@Shaanku 2 жыл бұрын
Thanks for the explanation. It was very helpful
@prashanthkumar-jj3dq
@prashanthkumar-jj3dq 3 жыл бұрын
Excellent explanation
@SouravChatterjeeboss
@SouravChatterjeeboss 2 жыл бұрын
Best tutorial I have ever seen. Thank you.
@mohammadsadeghi2353
@mohammadsadeghi2353 2 жыл бұрын
You are awesome at explaining complex topics. Thank you.
@koushikdas2755
@koushikdas2755 2 жыл бұрын
Just awesome.....Thanks you sir!
@ektayoga
@ektayoga 3 жыл бұрын
Thank you sir. You are excellent.
@sandeep_khangar
@sandeep_khangar 2 жыл бұрын
Bro, one of the best video I've seen. Proper explanation , diagram. 🔥
@nayanagouda3767
@nayanagouda3767 Жыл бұрын
Tysm for simply explanation... I have seen much vdo bt this is the best vdo.. Tq once again..🙏🏻
@ankit.wasankar
@ankit.wasankar Жыл бұрын
If you can, please go through my description & give a star to my repo. It'll be very helpful to me. Thank you ✌️
@subhaneilsengupta3053
@subhaneilsengupta3053 2 жыл бұрын
Excellent explanation.
@amitnakate1293
@amitnakate1293 3 жыл бұрын
Represented in very simplified manner...👍
@learnit4499
@learnit4499 2 жыл бұрын
You are LEGEND man! The way you explained I can answer hashmap even after death :D
@sandeepkumarrayala6738
@sandeepkumarrayala6738 2 жыл бұрын
You are awesome you explained it so clearly your animation are awesome great work .. You should be in udemy not on youtube .. Impressed with your work ..
@satyamsc
@satyamsc Жыл бұрын
simple explain for tricky topic, easily understandable.. nice.. 👍
@ankit.wasankar
@ankit.wasankar Жыл бұрын
If you can, please go through my description & give a star to my repo. It'll be very helpful to me. Thank you ✌️
@scrppr8270
@scrppr8270 3 жыл бұрын
Please Upload more videos.....your explanation is just awesome👌👌👌😍
@rameshnallajarla5697
@rameshnallajarla5697 2 жыл бұрын
very good explanation.
@abhinavdogra3835
@abhinavdogra3835 3 жыл бұрын
Extraordinary explanation pls make more videos in this playlist
@kusumbhatt2168
@kusumbhatt2168 3 жыл бұрын
You explained this concept in detail, this is very helpful... thank you!!
@yatinbatra6124
@yatinbatra6124 3 жыл бұрын
Amazing explanation. Thanks. Please prepare some more videos.
@deeptimonga7375
@deeptimonga7375 2 жыл бұрын
Excellent content & presentation. Eagerly waiting for the new videos. Please keep up the good work!!!
@nagarjunreddy1040
@nagarjunreddy1040 2 жыл бұрын
Very nice, love it
@milimishra6447
@milimishra6447 3 жыл бұрын
best explaination ❤❤❤
@Itsarpitgupta
@Itsarpitgupta 2 жыл бұрын
Thanks for the wonderful explanation.
@ManishKumar-qx1kh
@ManishKumar-qx1kh 3 жыл бұрын
Really aprreciate the hardwork. Cn you please make a playlist of all java collections and their internal working.
@randhirverma8042
@randhirverma8042 3 жыл бұрын
Thanks, man thanks a lot finally my concept is cleared, One of the best explanation I got on youtube
@AyushmaanPandey
@AyushmaanPandey 3 жыл бұрын
Very precise explanation.Thanks a lot
@jitesh1480
@jitesh1480 3 жыл бұрын
V good explanation, simple and on point. Thanks and Keep making more videos like this!
@aayushiyadav7914
@aayushiyadav7914 2 жыл бұрын
Thank you for the explanation. It's really helpful.
@aniruddhachunne3011
@aniruddhachunne3011 2 жыл бұрын
that summary work flow is awesome.... it help much better than your whole explanation
@pradipr2434
@pradipr2434 3 жыл бұрын
Wow. Well explained the concept with practical example👏 And Thank you for the clear explanation. Your channel deserves more subscribers
@yogeshchanekar6263
@yogeshchanekar6263 2 жыл бұрын
Mast Bhawa
@PadmaPonnu
@PadmaPonnu Жыл бұрын
Best video I have come across....It would be great if you can add tutorials on multi-threading and concurrency topics....
@vigneshv5092
@vigneshv5092 3 жыл бұрын
Well documented video. Thanks
@jamshadm
@jamshadm 2 жыл бұрын
Explained very well. Thank you :)
@AnkushKumar-fq3mp
@AnkushKumar-fq3mp 2 жыл бұрын
Really nice!
@bhawnavanani49
@bhawnavanani49 3 жыл бұрын
Very Informative
@dipaliyadav-koli1060
@dipaliyadav-koli1060 3 жыл бұрын
Thank you so much..
@bharatiyaashish
@bharatiyaashish Жыл бұрын
Thanks man! You made it far easy...
@armanchaudhari4767
@armanchaudhari4767 8 ай бұрын
One of the best tutorial for this topic
@monica-rk9yn
@monica-rk9yn 3 жыл бұрын
It was a nice explaination..easy to understand👍...Please upload a video on internal working of hashet..
@ishachhabra5150
@ishachhabra5150 3 жыл бұрын
Good job 👍
@krmanish472
@krmanish472 Жыл бұрын
Thanks for making life easier
@gauravraut3414
@gauravraut3414 Жыл бұрын
your explanation is great . try to make more videos on java .
@mallikarjunareddy29
@mallikarjunareddy29 3 жыл бұрын
Thanks for well explanation .
@ankit.wasankar
@ankit.wasankar 3 жыл бұрын
Glad it was helpful. Please like and subscribe | thank you 😇
@illinoska
@illinoska Жыл бұрын
Very easy to understand. Thank you!
@dileepmidasala9754
@dileepmidasala9754 Ай бұрын
Hashmap bucket intex start from 0 to 15 . But you mentioned 1 t 16
@sunilkumar-yn7mk
@sunilkumar-yn7mk 3 жыл бұрын
Very good explanation
@nikhilsai1351
@nikhilsai1351 Жыл бұрын
Excellent explanation worth a watch🔥🔥
@ankit.wasankar
@ankit.wasankar Жыл бұрын
thank you 🙏
@nvs4600
@nvs4600 3 жыл бұрын
Thanks so much. It's very helpful for me.
@muchukundareddy5315
@muchukundareddy5315 3 жыл бұрын
Awesome.
@saravanankaliyamoorthy9479
@saravanankaliyamoorthy9479 3 жыл бұрын
Hi Sir, it is wonderful and steady explanation. Thank you so much for this video. I will subscribe to your channel today itself.
@saravanankaliyamoorthy9479
@saravanankaliyamoorthy9479 3 жыл бұрын
the way you explain along with pictures, will directly go to mind.
@akashpolekar6779
@akashpolekar6779 2 ай бұрын
Best Explanation ever 💯
@syedaqib2912
@syedaqib2912 2 жыл бұрын
Really well explained !!
@sanjanachauhan1256
@sanjanachauhan1256 2 ай бұрын
Best explanation till date, please create more java videos
@bharatchoudhary7295
@bharatchoudhary7295 3 жыл бұрын
excellent
@kartikbadnorejain4708
@kartikbadnorejain4708 9 ай бұрын
Super Awesome. This is what I was looking for.
@yogeshshinde757
@yogeshshinde757 2 жыл бұрын
Great explanation
@ritesisright
@ritesisright 3 жыл бұрын
Awesome❤️
@Vijipattabiraman
@Vijipattabiraman Жыл бұрын
Great session, neat and good explanation. Thank you
@ayyappabudihal291
@ayyappabudihal291 2 жыл бұрын
Good explanation 👍
@anujkrmandal404
@anujkrmandal404 3 жыл бұрын
Thank you
@anandankishore
@anandankishore Жыл бұрын
Nice Explanation
@artworkbysomrita2062
@artworkbysomrita2062 2 жыл бұрын
Just superb explanation. Could you please make tutorial on some LinkedList and Tree programing concepts. TIA
02. Equals and HashCode Contract & Different Variations
11:19
Ankit Wasankar
Рет қаралды 58 М.
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 7 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 54 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 1,6 МЛН
How HashMap works in Java? With Animation!! whats new in java8 tutorial
15:29
Ranjith ramachandran
Рет қаралды 1 МЛН
Introduction to HashMap & HashTable in Java
1:39:46
Kunal Kushwaha
Рет қаралды 102 М.
Map and HashMap in Java - Full Tutorial
10:10
Coding with John
Рет қаралды 576 М.
Garbage collection in Java, with Animation and discussion of G1 GC
44:20
Ranjith ramachandran
Рет қаралды 489 М.
ConcurrentHashmap in Java and its differences with Synchronized HashMap
11:34
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 7 МЛН