Lecture 78: Hashmaps in C++ || C++ Placement Series

In this Video, we are going to learn about Hashmaps in C++ and its theory/working behind the scenes.
There is a lot to learn, Keep in mind “ Mnn bhot karega k chor yrr apne se nahi hoga ya maza nahi aara, Just ask 1 question “ Why I started ? “
Newton School's Grand Coding Contest: bit.ly/GrandContest2022_LB
Discord Server Link: / discord
Course Flow: whimsical.com/dsa-4-placement...
Notes Link: drive.google.com/drive/folder...
Slides Link: drive.google.com/file/d/1ChDW...
Code Links: github.com/loveBabbar/CodeHel...
Questions Links:
- Max Frequency Number: www.codingninjas.com/codestud...
Do provide you feedback in the comments, we are going to make it best collectively.
Connect with me here:
Instagram: / lovebabbar1
Twitter: / lovebabbar3
Telegram Group Link: Love Babbar CODE HELP
telegram.me/lovebabbercodehelp
My Editor: rishu.rsing...
Intro Sequence: We have bought all the required Licenses of the Audio, Video & Animation used.
Timestamps:
00:00 - Introduction to HashMaps
02:25 - Promotion
04:30 - Why we need hash maps ?
13:54 - HashMap Implementation
17:25 - Map STL
31:45 - Question 1
36:11 - Bucket Array
37:20 - Hash Functions
44:00 - Collision & its Handling
45:03 - Open Hashing
47:30 - Closed Addressing
#DSABusted #LoveBabbar

Пікірлер: 309

  • @pratham654
    @pratham6542 жыл бұрын

    Earlier you said that If you found me inconsistent during this series then "Itne comments kr dena ki me fir se consistent ho jau". So please bhaiya first complete this course then go for the paid ones. we have a lot of expectations from you. love u 3k❤❤

  • @swagatsundar

    @swagatsundar

    2 жыл бұрын

    😶

  • @vikassoni3835

    @vikassoni3835

    2 жыл бұрын

    Yes

  • @amirhamza8154

    @amirhamza8154

    2 жыл бұрын

    Yes

  • @arpit693

    @arpit693

    23 күн бұрын

    are u placed now?

  • @pratham654

    @pratham654

    17 күн бұрын

    @@arpit693 yes

  • @debadyutimondal2659
    @debadyutimondal26592 жыл бұрын

    Finally I found the channel where I can feel "apna" not just say the name "apna".

  • @GurdeepSingh-er8yk

    @GurdeepSingh-er8yk

    8 күн бұрын

    bro roasted aman without roasting aman 😂😂

  • @Rutik9999
    @Rutik99992 жыл бұрын

    Bro please upload entire series, we (students) are learning from lecture 1 so agar start mai views kam bhi aaye on latest videos, previos topics cover karke ajayenge views, you are doing the best work for us, thank u, ❣️ babbar

  • @sagnikmodak4178

    @sagnikmodak4178

    Жыл бұрын

    lecture 65 k bad ka code kaha hai..??

  • @godbrand69

    @godbrand69

    Жыл бұрын

    @@sagnikmodak4178 nhi hai

  • @HarshPatel-sw1jq
    @HarshPatel-sw1jq Жыл бұрын

    sir i am in love with your videos i have been following your series and had made 75 day streak and continue it till the end of this playlist. Your videos and the question you take are just awsome

  • @thingsneverhappened4829
    @thingsneverhappened48292 жыл бұрын

    Attendance ++ ; Bhaiya, ab daily lawo lecture, ab jada gap ho gya🙏🙏

  • @gitanjalikumari9262
    @gitanjalikumari9262 Жыл бұрын

    Thank you so much..ur explanation is really out standing..like crystal clear

  • @suyashverma156
    @suyashverma1562 жыл бұрын

    Bhaiya ye gem hae youtube pr upcoming indian cs engineer ke liye...Very very thanku isko free rakhne ke liye..

  • @govindsuryavanshi6653
    @govindsuryavanshi665310 ай бұрын

    First I have completed all DSA series and now conclude this is Greatest ever DSA series to exists on youtube or paid courses. Your contribution will be remembered. You're God of DSA for us🙇‍♂ Thanks you.

  • @neha886

    @neha886

    Ай бұрын

    tera har jgh yahi reply kyu h

  • @rounakrajput3928

    @rounakrajput3928

    Ай бұрын

    ​@@neha886😂

  • @vedant6460
    @vedant6460 Жыл бұрын

    Thanks a lot Lova Babbar!! This series is really helpful

  • @adityanigam8373
    @adityanigam83732 жыл бұрын

    Thank You bhaiya for this amazing course ..You are awesome!!!!!!!

  • @unboxtheuniverse5336
    @unboxtheuniverse53362 жыл бұрын

    Bhaiya Consistency not ++ 🙁🙁 Day Productive nhi lagta aapki video ke bina 🥺❤️ Iss course ka jo level he use maintain rahne do 🙌 Best DSA course in the world 💥🔥 Pata he aap kar loge 🙌 #BeliveInBabbar

  • @ujjwalpratap8729
    @ujjwalpratap8729 Жыл бұрын

    Thanks for creating this amazing lecture

  • @anuptewary3016
    @anuptewary30162 жыл бұрын

    Present bhaiya with lot's of love for you and we'll come back ❤️🔥

  • @onealjame4826
    @onealjame48262 жыл бұрын

    Bohot hi zabarzast class. Hats off

  • @ramaniruth1597
    @ramaniruth1597 Жыл бұрын

    Literally the best teacher

  • @BhaiRayyanKiDuniya
    @BhaiRayyanKiDuniya Жыл бұрын

    Iss course ka jo level he use maintain rahne do 🙌 Best DSA course in the world 💥🔥

  • @anonymous54321
    @anonymous543212 жыл бұрын

    Thanks bhaiya, for come back

  • @ore_wa_king
    @ore_wa_king2 жыл бұрын

    Bhaiya 30:43 pe apne shayad jaldi mein ye thoda galat bol diya, map mein elements hum kisi bhi order mein push karen to order preserve nahi hota, but sorted order mein push hota. Naye logon ke liye for example, yahan humne babbar, mera aur phir unknown push kiya, ye already sorted hain isliye output esa aya but agar hum for example mera ko babbar ke pehle push kardete to bhi output babbar, mera aur unknown hi ata, kyunki lexicographically 'babbar' 'mera' se pehle store hoga map mein.

  • @ayushsinha5512

    @ayushsinha5512

    6 ай бұрын

    depends if it is not unordered

  • @yutubegaming5340

    @yutubegaming5340

    Ай бұрын

    ordered_map m sorted store hota h

  • @vishalkoshti1373
    @vishalkoshti13732 жыл бұрын

    I'm working professional in non CS domain.....I want to switch in IT domain.....your videos are helping me a lot.... kudos!!!!

  • @sagnikmodak4178

    @sagnikmodak4178

    Жыл бұрын

    lecture 65 k bad ka code kaha hai..??

  • @Gravityboy007

    @Gravityboy007

    3 ай бұрын

    ​@@sagnikmodak4178 haaa uske baad ka github pr diya hi nhi...

  • @r060zeeshankhan9
    @r060zeeshankhan92 жыл бұрын

    Thank you for coming back...

  • @kousthubhtadanki1237
    @kousthubhtadanki1237 Жыл бұрын

    superb explanation!!

  • @Sandeepkumar-jj3no
    @Sandeepkumar-jj3no2 жыл бұрын

    thanks a lot for continuing this series.

  • @sportsclub725
    @sportsclub725 Жыл бұрын

    Thank You Bhaiya for these lectures 🙏🙏🙏🙏

  • @naveensingh_0735
    @naveensingh_07352 жыл бұрын

    Was waiting from a long time Thank you bhaiya for posting this even if you are deadly busy

  • @sagnikmodak4178

    @sagnikmodak4178

    Жыл бұрын

    lecture 65 k bad ka code kaha hai..??

  • @mohneeshmeena6376
    @mohneeshmeena6376 Жыл бұрын

    thank you very much sir you completely clear each points of hash maps now i can ready to write c++ in resume

  • @iutkarshmehta
    @iutkarshmehta2 жыл бұрын

    Bhaiya never forgets to takeout time for us.❤️

  • @BhaiRayyanKiDuniya
    @BhaiRayyanKiDuniya Жыл бұрын

    Thank You bhaiya for this amazing course ..

  • @anuragraut5101
    @anuragraut51012 жыл бұрын

    maza aaraha hai, hoping for consistency ++

  • @sohamsarde
    @sohamsarde2 жыл бұрын

    hello bhaiya , thanks for providing us with such a quality content. best course ever . #believeinbabbar

  • @BhaiRayyanKiDuniya
    @BhaiRayyanKiDuniya Жыл бұрын

    wahh bhaiyaa mazaa aa raa aur samaj bhi aa raa haii...nice...

  • @sumitworld918
    @sumitworld91811 ай бұрын

    30:33 When keys are strings then during access of map , map is printed in alphabetical order of keys.

  • @sakshiawadhiya7267
    @sakshiawadhiya72672 жыл бұрын

    Aap se itna accha DSA kaise aate hai .. thanks for providing these lectures

  • @ashishsulakhe3894
    @ashishsulakhe38942 жыл бұрын

    itna theory nahi padh pate hum....adatt hii choot gayi hai...Great Work ...Appreciate your efforts!!!

  • @ky747r0
    @ky747r02 жыл бұрын

    Great explaination

  • @prathmeshparteki1016
    @prathmeshparteki10162 жыл бұрын

    Waiting for your videoes bhaiyya... please upload regularly 🙏 Attendance marked...

  • @keshavgambhir9894
    @keshavgambhir98942 жыл бұрын

    Present bhaiya Amazing course 👍👍🔥🔥🔥 Commenting for better reach 🔥🔥🔥🔥

  • @sagnikmodak4178

    @sagnikmodak4178

    Жыл бұрын

    lecture 65 k bad ka code kaha hai..??

  • @jaydwarkadhish959
    @jaydwarkadhish9592 жыл бұрын

    Sir amazing video 👍👍👍😊😊😇😇⭐⭐⭐⭐⭐⭐

  • @BornHubisLive
    @BornHubisLive Жыл бұрын

    thanks a lot Bhaiya....!!!

  • @muskankushwah8406
    @muskankushwah8406 Жыл бұрын

    The video was so amazing, thank you!

  • @BhaiRayyanKiDuniya
    @BhaiRayyanKiDuniya Жыл бұрын

    Thanks for the beautiful content

  • @dewanshyadav6033
    @dewanshyadav60332 жыл бұрын

    Present bhaiya❤🔥✌ Attendance++

  • @TechUprise-by-Jyoti
    @TechUprise-by-Jyoti2 жыл бұрын

    Thank you so much bhaiya😊😊

  • @mr.himanshu4299
    @mr.himanshu42992 жыл бұрын

    keep uploading babbar bhai

  • @KumarDinesh-zw2vq
    @KumarDinesh-zw2vq11 ай бұрын

    V IMP lecture here. Definitely enjoyed this a lot.

  • @sherebanoburhani8939
    @sherebanoburhani89392 жыл бұрын

    Thank you ❤

  • @ritikdubey1977
    @ritikdubey19772 жыл бұрын

    Thanku so much sir 😎

  • @vatsalshingala3225
    @vatsalshingala3225 Жыл бұрын

    30:46 If the key values in a std::map are strings, the sorting is performed based on the lexicographical order of the keys. The std::map class uses the comparison operator< by default to determine the order of elements.

  • @gamedeviitian3645

    @gamedeviitian3645

    Жыл бұрын

    yes

  • @vs_sings4064
    @vs_sings40642 жыл бұрын

    You are my idol sir ❤️ , one day I will sure placed in a decent company 😊 and I have a proper mindset and we all students have trust in you ❤️ . Your level of content is just unbelievable😍

  • @sagnikmodak4178

    @sagnikmodak4178

    Жыл бұрын

    lecture 65 k bad ka code kaha hai..??

  • @jericodcosta2049
    @jericodcosta20492 жыл бұрын

    Present bhaiya consistency++

  • @Aaryuman
    @Aaryuman Жыл бұрын

    bhaiya best explaination

  • @KumarDinesh-zw2vq
    @KumarDinesh-zw2vq11 ай бұрын

    Thanks a lot bhaiya.

  • @aryan5035
    @aryan50352 жыл бұрын

    Best h video.👍

  • @devanshmittal138
    @devanshmittal1386 ай бұрын

    Amazing series ❤

  • @PRIYANSHUKUMAR-un9zu
    @PRIYANSHUKUMAR-un9zu2 жыл бұрын

    Present bhaiya❤🔥✌

  • @shantanu8880
    @shantanu888010 ай бұрын

    badia concept hay viya...ye sab mca ya fir btech 4th yr me ata h...great effort....maza++

  • @user-tk2vg5jt3l
    @user-tk2vg5jt3l5 ай бұрын

    Thank you Bhaiya

  • @AkashYadav-di6kd
    @AkashYadav-di6kd11 ай бұрын

    Thank you very much bhaiya.

  • @badalsharma101
    @badalsharma1012 жыл бұрын

    Finally intjar khatam hua

  • @AnotherCode788
    @AnotherCode7889 ай бұрын

    sir beleive me or not , i just cant find the teacher like you in the whole universe , thanks for everything

  • @thinker-o5p
    @thinker-o5p2 жыл бұрын

    kabse iss video ka wait kar raha tha. thanks bhaiya

  • @brijkishorebanjara8470

    @brijkishorebanjara8470

    4 ай бұрын

    HA

  • @nishankdeep3084
    @nishankdeep30842 жыл бұрын

    thank you bhaiya ab hashing me feel aa gayi

  • @rachit_joshi
    @rachit_joshi29 күн бұрын

    Thank You So Much BHRATA SHREE !!!!!!!

  • @yutubegaming5340
    @yutubegaming5340Ай бұрын

    Amazing content ever

  • @lalitbisht8381
    @lalitbisht83815 ай бұрын

    What an explanation of Hashing😍😍

  • @mihirvargante66
    @mihirvargante662 жыл бұрын

    thank you sir:)

  • @vishwamshourya3354
    @vishwamshourya33542 жыл бұрын

    Brother please upload the entire series as soon as possible . 🥲..i m learning since one month ...and my campus placements are just 1-2 months away..i want to prepare entire DSA before that period ....and love ur DSA series ❤️...

  • @yash7113

    @yash7113

    Жыл бұрын

    lag gya placement?

  • @viveknagar4537

    @viveknagar4537

    Жыл бұрын

    @@yash7113 nhi lga issliye reply nhi kiya

  • @rakeshsaraf2963

    @rakeshsaraf2963

    Жыл бұрын

    @@viveknagar4537 😂😂

  • @sagnikmodak4178

    @sagnikmodak4178

    Жыл бұрын

    lecture 65 k bad ka code kaha hai..??

  • @bite091_jamee7
    @bite091_jamee72 жыл бұрын

    amazing bhaiya

  • @focus.placement5589
    @focus.placement55892 жыл бұрын

    thankyouuuuu bhaiyaaa

  • @ravivishvas3676
    @ravivishvas36762 жыл бұрын

    best effort

  • @BhaiRayyanKiDuniya
    @BhaiRayyanKiDuniya Жыл бұрын

    धन्यवाद्

  • @harshitagrawal2662
    @harshitagrawal26622 жыл бұрын

    21:59 dsa me sifr ek hi sher rhega , Love bhaiya

  • @063himanshumishra4
    @063himanshumishra42 жыл бұрын

    Bhaiya moj kr diii

  • @Eren-tt4mn
    @Eren-tt4mn2 жыл бұрын

    Pls be consistent

  • @rhl_
    @rhl_2 жыл бұрын

    Good Lecture bro ✌🏻

  • @akankshapandey8316
    @akankshapandey83162 жыл бұрын

    Thanku sir🙏

  • @nikhilbande6234
    @nikhilbande623411 ай бұрын

    when we use map instead of unordered_map element are present in sorted order not according to the order of insertion into the map

  • @studygainer5482
    @studygainer5482 Жыл бұрын

    compleed another masterpeice

  • @UsmanAli-xj2jt
    @UsmanAli-xj2jt11 ай бұрын

    I recently attempted an entry test in a university and so many questions from hashmaps were asked. I was able to pass the test somehow but my curiosity brought me here and I learned all the concepts regarding hashmaps from your video. Now I am confident about my knowledge of hashmaps and surely I will do better in any other future exams.

  • @vinayak9594
    @vinayak95942 жыл бұрын

    Finally...

  • @ShouryaPant
    @ShouryaPant2 жыл бұрын

    bhaiyaa consistency kab ayegi phli ki tarah. apna course kab tk complete ho payega .Placements season bhi close hai . Bhaiiya this course was really amazing till now but ab thoda sa slow paced ho gya I personally feel that. Bakkki the course went very well till now but when will we will start getting tutorials about the main topics like The Graphs, dp tries, backtracking and others when will the videos of those start getting uploaded on our channel and in our course. Bhiayya please bring back our old form consistency back again for our this super ultimate course 🎯🤩🙏🙏 Thank you 💕 Babbr bhaiyya .

  • @abhishek-xv5ow
    @abhishek-xv5ow2 жыл бұрын

    Kaafi shi bro :)

  • @fazerugbrug439
    @fazerugbrug4392 жыл бұрын

    awesome

  • @amishapandey6875
    @amishapandey6875 Жыл бұрын

    Cant thankyou enough. Bhaiya!

  • @aryakumarjaiswal2059
    @aryakumarjaiswal20592 жыл бұрын

    good Morning Bhaiya Maza Aa Gaya!!❤❤😍😍

  • @ProjectPros
    @ProjectPros2 жыл бұрын

    Bhai Lit 💥💥💥💥💥💥💥💥💥

  • @yashasvic2429
    @yashasvic2429 Жыл бұрын

    THANKS BHAI

  • @priyanshugoyal2539
    @priyanshugoyal25392 жыл бұрын

    Present Bhaiya Ji

  • @ritika_thakur
    @ritika_thakur2 жыл бұрын

    Bhai mera University exam h 2 bje se or mujhe ye topic smjh hi nii a rha tha finnally axhe tym PE ye video mil gya 😁

  • @vishalgarna4580
    @vishalgarna4580 Жыл бұрын

    Samaj aa gaya

  • @suheabkhan2546
    @suheabkhan25462 жыл бұрын

    Zabardast

  • @siddharthakansal8417
    @siddharthakansal84172 жыл бұрын

    bhaiya consistent ho jao

  • @UEEANILKUMAR
    @UEEANILKUMAR2 жыл бұрын

    Bhaiya ,please come back becz without you its not possible to take placement 🙏🙏🙏🙏🙏🙏🙏 please 🙏🙏🙏🙏

  • @bite091_jamee7
    @bite091_jamee72 жыл бұрын

    maza aagya bhaiya

  • @ekanshsharma1309
    @ekanshsharma1309 Жыл бұрын

    either i watched this lecture on my low strength or it just a boring lecture😅 but really helpful❤

  • @arshdeep011
    @arshdeep011 Жыл бұрын

    Kisi se smj nhi aaea tha map,, but apse aa geya

  • @yujityadav3049
    @yujityadav3049 Жыл бұрын

    yooooooooooooo!!!!!!!!!!!! bit late but i willl continue

  • @Mandeepsingh-jo5cf
    @Mandeepsingh-jo5cf2 жыл бұрын

    love you love bhai

  • @akshatsingh9011
    @akshatsingh9011Ай бұрын

    'map' doesn't print the keys in the order in which they are inserted, rather it prints them in lexicographical order. 'unordered_map' prints them in any random order.

  • @Thakur_Pradhumn_Singh_Tomar

    @Thakur_Pradhumn_Singh_Tomar

    28 күн бұрын

    what is lexicographical order?

  • @mohdfaisal4725
    @mohdfaisal47252 жыл бұрын

    this series must be completed on time, just a request 🤗🤗

  • @Aasheesh3000

    @Aasheesh3000

    11 ай бұрын

    Chutiyon jaise emoji kaun chipkata hai request karne ke baad..

  • @reyanceyogeee3819
    @reyanceyogeee3819Ай бұрын

    Babbar bhaiyaa is underrated