[PRACTICAL]How Hashmap works internally || Debugging || part 2

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ค. 2024
  • This tutorial covers how a hashmap works internally.We will go through a complete debugging and we will have a complete analysis of the below points :
    1. how hashmap stores key-value pair (entry)
    2. What happens when two keys have the same hashcode
    3. What happens when two entries have same key (duplicate key)
    4. what happens when we insert a key as null
    we will also cover what we mean by a threshold and load factor in a hash map.
    Watch the part 1 of this series at the below link :
    How hashmap works internally (Overview)
    • How HashMap works inte...
    subscribe to my channel by clicking on the link below.
    / @seleniumexpress
    Stay tuned and like my Facebook page for more.
    / seleniumexpress
    Music :
    -----------
    credits : -
    1)
    Adventures by A Himitsu / a-himitsu
    Creative Commons - Attribution 3.0 Unported- CC BY 3.0
    creativecommons.org/licenses/b...
    Music released by Argofox • A Himitsu - Adventures...
    Music provided by Audio Library • Adventures - A Himitsu...
    (intro)
    2)
    NCM Epic Music Ender Guney
    / ncmepicmusic
    -----
    intro template :
    wth-cam.com/users/Alexbau01

ความคิดเห็น • 291

  • @Cristiann30
    @Cristiann30 5 ปีที่แล้ว +12

    I don't know why I cannot see the threshold, size, loadFactor, table variables in my debugging IDE. I can only see the map and its entries.

    • @SeleniumExpress
      @SeleniumExpress  4 ปีที่แล้ว +26

      Hi Nastase, to view all the map properties please click on the "show logical structure" icon which is there at the top right corner of your variables section.
      For more help,Please refer the below tutorial.
      th-cam.com/video/6L_WRYFMZFE/w-d-xo.html

    • @rajkhare5949
      @rajkhare5949 4 ปีที่แล้ว +1

      @@SeleniumExpress I got the same issue...thanks now its resolved

  • @kanikaagarwal5597
    @kanikaagarwal5597 6 ปีที่แล้ว +28

    Very good explanation.Watched a lot of videos on hashmap, but this one is the best so far. Thanks !

  • @nirvanjain3021
    @nirvanjain3021 4 ปีที่แล้ว +3

    Awesome. After these many years of industry experience, I just learned this Hash Map internal working.

  • @pallavikaushik4578
    @pallavikaushik4578 5 ปีที่แล้ว +4

    Best explanation of hashmap internal functioning so far...I read few articles but after this tutorial I don't need to refer any other documentation or social portal.
    Much appreciated!!!
    Keep up the good work

  • @teacherrussell5206
    @teacherrussell5206 4 ปีที่แล้ว +3

    Great job. Teaching IDE, debugging, and underlying implementation of Collection classes all in one shot:) You are the Collection King.

  • @prajwal9610
    @prajwal9610 4 ปีที่แล้ว

    The way you explain by debugging the hashmap implementation is awesome. It gives detailed understaing of how hashmap works. Thanks.

  • @vishalgaikwad873
    @vishalgaikwad873 6 ปีที่แล้ว +2

    Really finally I got internal representation of map.
    Thank a lot.

  • @varshinikaithapuram6189
    @varshinikaithapuram6189 3 ปีที่แล้ว +1

    Very nice explanation. This could be very helpful for those folks attending interviews with MNC companies. Thank you!

  • @anuragbharti3773
    @anuragbharti3773 3 ปีที่แล้ว

    Wow. One of the best video on hashmap. Paused the video in the middle and wrote the comment. Thank you so much for your efforts

  • @yenamanenirohin864
    @yenamanenirohin864 6 ปีที่แล้ว +3

    Thanks a lot....One video cleared all may doubts which i have been having since I started learning Java

  • @md.faisalkhan8634
    @md.faisalkhan8634 6 ปีที่แล้ว +1

    Well explained,
    Before watching this video I was already aware of the internal working of HashMap,
    but know as saying goes there is always scope to learn from the newbie also, what more I could say bro you nailed in such an awesome manner -a practical in the layman way that even dumbest could get it.
    KEEP IT UP.

  • @abhimalvekr127
    @abhimalvekr127 5 ปีที่แล้ว +1

    Good job Dude. This is the best explanation I found on internal working of Map! Keep it up

  • @bahmad2009
    @bahmad2009 4 ปีที่แล้ว +1

    Thank You for putting up this video explaining the Hashmap internals. It was helpful in understanding the concept.

  • @pradeepikakollipara9236
    @pradeepikakollipara9236 6 ปีที่แล้ว

    You nailed it with your wonderful explanation. This was one of the grey areas for me from many years and your video has solved it..keep going

    • @SeleniumExpress
      @SeleniumExpress  6 ปีที่แล้ว

      Thanks, Deepika. Happy to know that this video helped you.

  • @laxmiprajapati2192
    @laxmiprajapati2192 5 ปีที่แล้ว

    I had lots of confusion with Map but now its as clear as water...thank you

  • @aasmakamaal4767
    @aasmakamaal4767 5 ปีที่แล้ว

    Thanks alot.. This what i was searching for!.. The best video for hashmap working i came across till date🙌

  • @mohanas6697
    @mohanas6697 6 ปีที่แล้ว

    Great Explanation. Now I got the idea on how it works...Thanks a Ton !

  • @NoorAlam-vm7dg
    @NoorAlam-vm7dg 3 ปีที่แล้ว

    Finally doubt related to How hashMap works are cleared . Thank You.

  • @vivekbhardwaj2785
    @vivekbhardwaj2785 2 ปีที่แล้ว

    outstanding explanation. i watch many videos but did not get the exact flow ...this video cleared my doubt..thanks bro

  • @rakesh12589
    @rakesh12589 6 ปีที่แล้ว

    I saw the first two parts of these video. And now liked this video even before watching it. Awesome explanation :)

    • @SeleniumExpress
      @SeleniumExpress  6 ปีที่แล้ว +1

      Thank you, Rakesh.. So happy to know this helped you.

  • @yogeshchaudhari9971
    @yogeshchaudhari9971 5 ปีที่แล้ว

    What an amazing video it is...thank you so much...never had so much in depth clarity about hashmap earlier...itd amazing

  • @manishnegi2882
    @manishnegi2882 6 ปีที่แล้ว

    Very good dude, this vedio is much more powerful then previous one, you have done a very great job its more useful for experience person.
    Thanks very well done..

  • @subhaadhikary09
    @subhaadhikary09 5 ปีที่แล้ว

    Best tutorial so far. Thank you so much.

  • @meghatiwari5225
    @meghatiwari5225 4 ปีที่แล้ว

    Simply I can say best way to explain hashmap.thankyou.

  • @malashrimasnaik9069
    @malashrimasnaik9069 5 ปีที่แล้ว

    Really appreciate your effort to make us understand the concept deeply...Thank you very much very well expalined...

  • @piyushjhawar7681
    @piyushjhawar7681 6 ปีที่แล้ว +2

    Perfect explanation. Thanks a lot..

  • @RahulPawar-ll8op
    @RahulPawar-ll8op 5 ปีที่แล้ว

    All concept are clear about map & your talking assent is very good..

  • @ranjeetnityanand2722
    @ranjeetnityanand2722 4 ปีที่แล้ว

    After Durga Sir this is my second best Explanation Thank you.....

  • @adityapratapsingh418
    @adityapratapsingh418 6 ปีที่แล้ว

    Thanks a lot for this practical way of explanation..really cleared most of the doubts..

  • @sravyaprathigadapa9958
    @sravyaprathigadapa9958 3 ปีที่แล้ว

    Nice explanation and now i am confident that i can answer any interview question based on hashmap. Thank you Abhilash

  • @diotixz1334
    @diotixz1334 4 ปีที่แล้ว

    cool and different way of explaining this concept even more clear

  • @mounikasure
    @mounikasure 2 ปีที่แล้ว

    Best explanation so far!!!Thanks for helping us ❤

  • @raghuakuthota4900
    @raghuakuthota4900 6 ปีที่แล้ว

    Very good explanation. I Watched a lot of videos on hashmap, but this one is the best so far. Thanks lot !...

  • @swethasavant2520
    @swethasavant2520 4 ปีที่แล้ว

    very well Explained..theorectically it's bit hard to understand this concept but this tutorial made it clear. Thanku sir

  • @NavneetKumar-ih9gm
    @NavneetKumar-ih9gm 6 ปีที่แล้ว

    hey man you are genius...i never ever seen a video like this....u made my day....thanks a lot...and i mean it... god bless you bro...

    • @SeleniumExpress
      @SeleniumExpress  6 ปีที่แล้ว

      Thanks, Navneet.. Glad you liked the video.. Thank you so much for watching 😊

  • @amolpatil2140
    @amolpatil2140 6 หลายเดือนก่อน

    Thanks for such straightforward Explanation....I am very Thankfull to you....👍👍

  • @amoljadhav4841
    @amoljadhav4841 6 ปีที่แล้ว

    Thank you sir, I like your tutorials, this tutorial is very helpful for everyone, I am watch lot of videos but this tutorial is awesome, Love u sir, Thanks once again!!!!!!!

    • @SeleniumExpress
      @SeleniumExpress  6 ปีที่แล้ว

      Amol Jadhav
      Thanks for your kind words, Amol.. You are an awesome learner 😊

  • @nilimadey8593
    @nilimadey8593 5 ปีที่แล้ว

    Man man man, Holly Molly, loved it, please ,🙏🙏💓, bring more videos on java like this, to clear our concept, and please a video series on IBM JAVA INTERVIEW QUESTION, OR ON ANY OTHER COMPANY

  • @kannathasanelangovan2710
    @kannathasanelangovan2710 4 ปีที่แล้ว

    Really love the way to teach please do more videos on Java let the people understand from the basics

  • @sachinthange
    @sachinthange 5 ปีที่แล้ว +1

    Thanks for this wonderful tutorial explanation :)

  • @110NBB
    @110NBB ปีที่แล้ว

    Thank you,i referred many videos,atlast this is the one i was looking for,thanks alot.

  • @sydefx5451
    @sydefx5451 4 ปีที่แล้ว

    Such a great video enjoyed listening was easy explained
    love your channel :)

  • @shraddhaagarwal534
    @shraddhaagarwal534 6 ปีที่แล้ว +2

    U explain really well.. hope to see more videos.....

  • @1992Mrprateek
    @1992Mrprateek 5 ปีที่แล้ว

    Very helpful video bro... thank you so much. Stay blessed

  • @SuperAamir9
    @SuperAamir9 4 ปีที่แล้ว

    Finally i understood this, Thanks alot Sir. Please share the internal working of HashSet.

  • @madanmohanpachouly6135
    @madanmohanpachouly6135 2 ปีที่แล้ว

    You nailed it Man.. Thanks for ur efforts

  • @subashramadoss4236
    @subashramadoss4236 6 ปีที่แล้ว

    Neat Explanation. Got cleared my doubts on seeing your video :)

  • @trendingtechnologiesit924
    @trendingtechnologiesit924 6 ปีที่แล้ว

    Thanks a lot for posting the video with the full details for Map internal mechanism.

    • @SeleniumExpress
      @SeleniumExpress  6 ปีที่แล้ว

      veera shankara ravindrareddy kakarla you are welcome!! Thanks so much for watching 😊

    • @trendingtechnologiesit924
      @trendingtechnologiesit924 6 ปีที่แล้ว

      Quick comment..... you are very active

  • @siddharthmishra8294
    @siddharthmishra8294 6 ปีที่แล้ว

    Great job Abhilash.. Keep it up!!!

  • @gagandeepsingh-lh5nt
    @gagandeepsingh-lh5nt 4 ปีที่แล้ว

    thanks bro...for clearing my concept..best video on hashmap

  • @satishrock9621
    @satishrock9621 6 ปีที่แล้ว

    Thanks a ton Bro. Really this is the way to dig into Programming Language

  • @stankomaslek2402
    @stankomaslek2402 6 ปีที่แล้ว

    You are the Man... best regards...

  • @sau5040
    @sau5040 2 ปีที่แล้ว +1

    Thank you so much, you have explained very well 🙏

  • @balanssocial1880
    @balanssocial1880 5 ปีที่แล้ว

    nice practical video each point can be easily understood

  • @anantpatil3393
    @anantpatil3393 3 ปีที่แล้ว

    Very very good explanation brother. Thanks for Making it easy with debugging explanation.... keep going

  • @jahangirkhan8019
    @jahangirkhan8019 4 ปีที่แล้ว

    Thank you brother both videos are very detailed.

  • @souvaniksaha
    @souvaniksaha 4 ปีที่แล้ว

    Thank you so much .Really this was a great explanation.

  • @tauseefahmad8041
    @tauseefahmad8041 5 ปีที่แล้ว

    thanks for throwing light on internal working of HashMap

  • @blessyRelatable
    @blessyRelatable 3 ปีที่แล้ว

    A very clear explanation...thank you so much

  • @vishnusasi7901
    @vishnusasi7901 2 ปีที่แล้ว

    Very Informative. Thanks !

  • @DB-xe3ws
    @DB-xe3ws 6 หลายเดือนก่อน

    thanks a lot, enjoyed learning this!!

  • @shashikiran3238
    @shashikiran3238 5 ปีที่แล้ว

    Thank u so much for a clean explanation 👌👌👍👍👍

  • @Pm80334
    @Pm80334 5 ปีที่แล้ว

    Brilliant boss take a bow .Plz put an elaborate debugging of put () 👍👍👍

  • @tani2729
    @tani2729 5 ปีที่แล้ว

    The Best, thanks for your effort

  • @alexiscrixus7837
    @alexiscrixus7837 2 ปีที่แล้ว

    Terrific dude! Greetings from Chile!

  • @vickyraj541
    @vickyraj541 5 ปีที่แล้ว

    really appricite your work , thanks a lot!

  • @SandeepSingh-ns2db
    @SandeepSingh-ns2db 3 ปีที่แล้ว

    Awesome. Very good explanation. Well done

  • @mkkamle
    @mkkamle 6 ปีที่แล้ว

    excellent explanation,loved it.

  • @stutigawande6835
    @stutigawande6835 3 ปีที่แล้ว

    Very well explained with example.

  • @akshatjain9762
    @akshatjain9762 2 ปีที่แล้ว

    Amazing explained
    thanks a lot !!

  • @santhoshchandran6952
    @santhoshchandran6952 2 ปีที่แล้ว

    Well explained abilash, thank u

  • @ananyaujas8464
    @ananyaujas8464 5 ปีที่แล้ว

    Excellent explanation tqs for making this video..

  • @chidanandasutar9105
    @chidanandasutar9105 2 ปีที่แล้ว

    Nicely explained. Thanks a lot 🙏

  • @somanathreddy3121
    @somanathreddy3121 4 ปีที่แล้ว

    Grt job bro...tq for your clear explanation

  • @faizanahmad7475
    @faizanahmad7475 4 ปีที่แล้ว

    V good superb ..
    Because i have swen the 1st time and i understand properly

  • @naveenkumarmaddala7830
    @naveenkumarmaddala7830 5 ปีที่แล้ว +1

    Hi Abhilash, Thanks for sharing the video. Could you please provide more details about modCount. What is the purpose and when it is useful?

  • @nandhakumara962
    @nandhakumara962 5 ปีที่แล้ว

    That' great video.. Plz post the same for Treemap. It will help us to understand the working logic of Tree Map

  • @alekhyaarani9506
    @alekhyaarani9506 4 ปีที่แล้ว

    Really awesome explanation

  • @anandjha5353
    @anandjha5353 5 ปีที่แล้ว

    Superb I saw almost all videos n liked too.

  • @pradeepseth6797
    @pradeepseth6797 6 ปีที่แล้ว

    Thanks for clean and crispy explanation. I have a small issue on eclipse, while debugging, on "Variables" panel on expand of map reference, not getting, All the properties, as entrySet, table etc.Anyone else also getting the same issue.

  • @musharrafarain8902
    @musharrafarain8902 3 ปีที่แล้ว

    good explanation i have clear my concept.

  • @sureshm2047
    @sureshm2047 6 ปีที่แล้ว

    Really given clear cut explanation thanks a lot..

  • @DineshKumar-ph3uq
    @DineshKumar-ph3uq 6 ปีที่แล้ว

    Great explanation

  • @prateekjain5308
    @prateekjain5308 2 ปีที่แล้ว

    great work buddy, keep it up :)

  • @chamanthisharwa6618
    @chamanthisharwa6618 2 ปีที่แล้ว

    Thank you thank you so much sir, great 👍👏😊 explanation.

  • @MOHITSINGH-cv5qe
    @MOHITSINGH-cv5qe 2 ปีที่แล้ว

    indepth explained , thanks , it helped a lot.................................

  • @macherladevasundaram4928
    @macherladevasundaram4928 3 ปีที่แล้ว

    V good explanation bro.. Thank u so much...

  • @satheeshraja7762
    @satheeshraja7762 ปีที่แล้ว

    Such a nice tutorial bro keep it up 👏👏👏

  • @yatendra__singh
    @yatendra__singh 2 ปีที่แล้ว

    Great session

  • @ManojGupta-kx9qv
    @ManojGupta-kx9qv 5 ปีที่แล้ว

    Good Explanation...Thanks

  • @tindo0038
    @tindo0038 4 ปีที่แล้ว

    Excellent explanation

  • @practicaltalks5097
    @practicaltalks5097 4 ปีที่แล้ว

    Thanks alot...Respect from Pakistan.

  • @SonalGupta25
    @SonalGupta25 6 ปีที่แล้ว

    Amazing explanation when u have no idea about HashMap!!

  • @swapnilbhad3216
    @swapnilbhad3216 5 ปีที่แล้ว

    Nice explaination!!

  • @maheshyr2654
    @maheshyr2654 6 ปีที่แล้ว

    very nice videos bro ... do like this for max core java concepts

  • @robintyagi2366
    @robintyagi2366 3 ปีที่แล้ว

    These are the best tutorials available on the internet or anywhere. There is only one doubt from the video, how do we generate index from the hashCode, @Abhilash, could you please guide.

  • @prajwalkr4276
    @prajwalkr4276 4 ปีที่แล้ว

    Fidaaa, crores of thanx

  • @grunze
    @grunze 5 ปีที่แล้ว

    Just a quick tip. Please stop referring Node as a linked list. A list does not have a key value pair. A map does. Its a key value pair(or a mapping). Other than that, excellent explanation and kudos showing the debugger. Thank you!

  • @sadiqc8153
    @sadiqc8153 3 ปีที่แล้ว

    Bro great explanation thnks for this effort ..

  • @tsuresh2587
    @tsuresh2587 5 ปีที่แล้ว +1

    Thank you.
    Please make one video about how put(-,-) will work step by step internally.