What is unordered_set and it's implementation in c++ | Hashing data structure | Hello World

Sdílet
Vložit
  • čas přidán 15. 03. 2021
  • This is the video under the series of DATA STRUCTURE & ALGORITHM in a HASHING Playlist. We are going to learn What is unordered_set in Hashing and How we can implement unordered_set in c++.
    We also Provide courses on Competitive Programming and Data structure. Please see our Full Playlist on our Channel.
    We also Provide courses on Competitive Programming and Data structure and Algorithms. Please see our Full Playlist on our Channel.
    ----------------------------------------------------------------------------------------
    Pdf of This Video: github.com/Prince-1501/Hello_...
    code in This Video: github.com/Prince-1501/Hello_...
    ----------------------------------------------------------------------------------------
    *Follow me *
    LinkedIn► / iamprince
    Facebook► / helloworldofficials
    Instagram► / helloworldbyprince
    Twitter► / prince_king_
    ----------------------------------------------------------------------------------------
    ►Our Playlists on:-
    ►Competitive Programming: • How to start Competiti...
    ►C++ Full Course : • L-01 || Introduction a...
    ►Algorithms: • L-01 || Prefix Sum Arr...
    ►Data Structure: • Data Structures with C...
    ------------------------------------------------------------------------
    #hashing #geeksforgeeks #programming

Komentáře • 118

  • @tulsikharke
    @tulsikharke Před 2 lety +9

    sir, your videos are so good, they clear every concept.
    the way u explain the find() function is very clear to me now.

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety +5

      Thanks yaar
      That's what I am trying to teach
      And you got it my point

    • @felixchien1664
      @felixchien1664 Před rokem

      absolute lies! I can't even understand what he's saying! He needs to work on his english. ;)

  • @deezero7103
    @deezero7103 Před rokem +1

    one who knows to make, others understand. Well done

  • @mindblow3029
    @mindblow3029 Před 2 lety +1

    Samajhte to aap badiya hi ho isme koi doubt nahi hai 🔥

  • @AmanSingh-ff9im
    @AmanSingh-ff9im Před 2 lety +1

    Sir to koi bhi bn jayega lekin bhaiya bn ke dikhao to maano isliye thank you bhaiya....... Bhaiya bol ke pdhne se feeling jud jaati hai teacher ke saath❤❤❤

  • @manishverma4883
    @manishverma4883 Před rokem +1

    printf("thanks... very helpful!");

  • @swathigp3818
    @swathigp3818 Před 3 měsíci

    Great video bro!! Very helpful

  • @shubhampatel6325
    @shubhampatel6325 Před 3 lety +5

    Take live classes and share some dunes also😀

  • @shivamehta6537
    @shivamehta6537 Před 3 lety +1

    Thank you bro

  • @suyashjadaun3279
    @suyashjadaun3279 Před rokem

    I like your hash data structure series

  • @ashishsubhedar3969
    @ashishsubhedar3969 Před 4 měsíci

    Very well explained Superb!!! Concept is easy now. Please mention where all it is used?

  • @creatorsaurabhs
    @creatorsaurabhs Před 2 lety +1

    Awesome Explanation,Thank you bhaiya 😊

  • @stevejob677
    @stevejob677 Před 3 lety +3

    please take live class

  • @lovesingh5105
    @lovesingh5105 Před 2 lety

    thanks for your hard work for us.

  • @salmaniproductions1104

    thnk u so much

  • @anonymous090
    @anonymous090 Před 2 lety

    Thankyou bhaiya

  • @shashwatdev2371
    @shashwatdev2371 Před 2 lety

    Thanks a lot for video

  • @udaytewary3809
    @udaytewary3809 Před rokem

    Really thankyou bhaiya for explaining three find function Really well
    For this really thankyou bhaiya

  • @mtariquegauri
    @mtariquegauri Před 2 lety

    Thanks a lot !

  • @AmanSingh-ff9im
    @AmanSingh-ff9im Před 2 lety +1

    Thank you bhaiya...... 💯

  • @yashsinha7604
    @yashsinha7604 Před 5 měsíci

    Nice Video

  • @prashantsingh-cx2qy
    @prashantsingh-cx2qy Před 2 lety +1

    Bohot sahi!

  • @abhaygupta4242
    @abhaygupta4242 Před 2 lety

    Great job!

  • @bhupeshpattanaik7150
    @bhupeshpattanaik7150 Před 3 lety +2

    0:51 exactly 🔥

  • @kishan2
    @kishan2 Před 2 lety +1

    very helpful playlist

  • @code9898
    @code9898 Před rokem +1

    Awesome lecture Bhai jaan 🥰
    That's really wonderful 😍

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před rokem +1

      Thanks for liking
      Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

    • @code9898
      @code9898 Před rokem

      @@HelloWorldbyprince yeah! Of course ☺️

  • @teit_61poonamchikhale45

    thanks nice vid!!

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety

      keep learning yaar
      Please, if possible then share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

  • @mostafasazid
    @mostafasazid Před 2 lety +1

    Respect!!! 🖤

  • @redgreenblue_rgb
    @redgreenblue_rgb Před rokem

    👍

  • @factbazarr
    @factbazarr Před 2 lety +1

    great vid!

  • @P-S-R
    @P-S-R Před 2 měsíci

    Those who don't understand find function, its like looking for someone you know in a queue. If you know someone then you will stop and talk to them otherwise keep on moving until the end of the line. If you are interrupted then the person you know is found otherwise that person isn't found. Now swap the queue with array's index and person with key.

  • @sanskritijain2357
    @sanskritijain2357 Před 2 lety +1

    great video

  • @prushottamkumar2252
    @prushottamkumar2252 Před měsícem

    now its nice

  • @ArghyaDas-np3ff
    @ArghyaDas-np3ff Před 10 měsíci

    thank you vaiya.

  • @anjaligoswamii
    @anjaligoswamii Před rokem

    thank u

  • @MilindGupta
    @MilindGupta Před 3 lety +4

    Take live classes with 80% only problem solving I would love that

  • @satvikkhare1844
    @satvikkhare1844 Před 2 lety +2

    The problem with those stupid live classes is that it takes a lot of time to watch. We want the topics to be taught in maximum of 20 mins.

  • @ANKITSINGH-xv2et
    @ANKITSINGH-xv2et Před 2 lety

    great

  • @Rajshah14049
    @Rajshah14049 Před 2 lety +2

    At last there should be 2 statements:-
    Key found
    Key found
    But it only printed once there is some error
    Can u please clarify?

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety

      If u r thinking its not right
      Then do once a Dry run in your copy without seeing my solution
      For same question
      And whatever u get ..u r right then

  • @tannuagarwal5707
    @tannuagarwal5707 Před 3 lety +1

    Yaa exactly........ please live classes

  • @thetopten619
    @thetopten619 Před 3 lety +2

    Bhai live class

  • @pushkarroy9740
    @pushkarroy9740 Před rokem +1

    you explained find function like it is traversing in the set
    so then how it is O(1)

    • @mahimapatel8706
      @mahimapatel8706 Před 3 měsíci

      it isnt traversing, probably what is does is create a key for the element and then look for that key in direct-access-map and return the position of it in the map

  • @oqant0424
    @oqant0424 Před rokem

    6/18 done (7.12.22)

  • @vanshshah7781
    @vanshshah7781 Před rokem

    How find and end functions work in if condition without loop??

  • @rajankhunt7002
    @rajankhunt7002 Před 2 lety +1

    any topic on you make thumbnails make part wise so we can find easily
    and you make videos on dsa problems.

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety +2

      Means u want numbers 🔢 on thumbnail ?

    • @rajankhunt7002
      @rajankhunt7002 Před 2 lety

      @@HelloWorldbyprince also my name is Prince khunt yes bro like you codewithharrys chhenal on you seen and keep it on making video and earn 100k winner play button 😊😊😊 thank you to giving reply which company in you do working. I am a 16 years old and I completed c c++ and some algorithms and ds and core java so what I do next if you have any idea so you do me reply

  • @hello-test-user
    @hello-test-user Před 2 lety +1

    Nice work bro.. Thankx

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety +2

      Welcome
      keep learning buddy and be consistent and share my channel with your college groups that helps me a lot

  • @VarunSingh-mh9qy
    @VarunSingh-mh9qy Před rokem

    bhaiya isme hmne hashing kha use kiya hai......implementation to hua hi ni bs kaam kese krta hai ye bataya gya hai

  • @sachinsemwal343
    @sachinsemwal343 Před 2 lety +1

    for (auto it = S.begin(); it != S.end(); it++)
    {
    cout

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety +4

      Yes there are many ways and it is one of them
      Let's say 2nd one is
      For ( auto x : S )
      {
      Cout

  • @subhasishbehera1712
    @subhasishbehera1712 Před 2 lety

    what exactly is umap.find(key).it seems to be of the same type as iterator itr. but why can't we print it if it's a memory location(like a normal pointer)?

  • @ogbuddha7835
    @ogbuddha7835 Před 2 lety

    Let the size of set be n. If we write the find function for finding any key will the compiler iterate through all the elements of the set in this case will the time complexity be O(n)?

  • @nishanty7392
    @nishanty7392 Před 3 lety +2

    Please do cover the whole STL topic with some examples too.

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 3 lety +3

      There is complete playlist on STL: Standard Template Library (STL) By Hello World: czcams.com/play/PLzjZaW71kMwR-oGkXfxfz4dmVe2dkNh0K.html

  • @prakhar266
    @prakhar266 Před rokem

    complete

  • @technicalwithinformation

    Sir what is means s.find() == s.end()

  • @anjaliraj8430
    @anjaliraj8430 Před rokem

    sir aap bihar se hai???/

  • @sumitkanth5349
    @sumitkanth5349 Před rokem

    which song is this 16:47 ?

  • @MilindGupta
    @MilindGupta Před 3 lety

    Last main count kraa bhaiya...
    Fir find nd count main kya difference hai fir kyunki dono ka toh output same hi tarah kaa aa rha h

    • @73-sarthakpandey25
      @73-sarthakpandey25 Před 2 lety

      find iterator(pointer) return karta hain and count 1 aur 0 1 if element present 0 if element absent

  • @swatantrapatel7608
    @swatantrapatel7608 Před rokem

    0:45 Bhaiya ye background music kon sa ha??

  • @BMEFaisal_khan
    @BMEFaisal_khan Před 2 lety

    Bhai or bhi daloge kya hashing ki video

  • @incubus8492
    @incubus8492 Před rokem

    bhaiya very nicely explained

  • @yashthakkar2629
    @yashthakkar2629 Před 2 lety +2

    17 minutes worth spending tbh

  • @nova9101
    @nova9101 Před rokem

    GOD 🙏

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před rokem

      Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

  • @mortal_spirit
    @mortal_spirit Před rokem

    My god, that accent kills me, I havent understood its English firstly

  • @shivamdalania
    @shivamdalania Před 3 lety

    Bhaiya what is the difference between hashing using 'map' and hashing using 'set'? Please reply

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 3 lety

      Please see my full playlist on hashing
      Aapko fir kabhi v koi v doubt nahi aayega
      Hashing Data Structure | Complete guide For Interviews DSA | HELLO WORLD | Prince: czcams.com/play/PLzjZaW71kMwQ-D3oxCEDHAvYu8VC1XOsS.html

  • @ayushjain1110
    @ayushjain1110 Před rokem

    10 baar bol liya bhai achii chiz hai achhi chiz hai...thik hai bhai achii chiz hai toh padha le ...baar baar bolnese kya hoga

  • @krushnapatil9196
    @krushnapatil9196 Před 2 lety +1

    great video

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety +1

      Glad you enjoyed it
      keep learning buddy and be consistent and share my channel with your college groups that helps me a lot

  • @sejanas
    @sejanas Před 2 lety +1

    great

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety +1

      Thanks a ton
      Please, if possible then share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

    • @sejanas
      @sejanas Před 2 lety

      Really loved your content, will see the entire playlist, and will definitely share this.