Hashing Technique - Simplified

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 568

  • @paramjeetsingh3444
    @paramjeetsingh3444 3 роки тому +59

    Whenever i want to see any topic on youtube. I pray that u uploaded a video of that concept. Thanks a lot sir.

  • @aparna2701
    @aparna2701 6 років тому +535

    Such a clear, crisp, no-nonsense explanation. Hats off, sir.

    • @avoidcomplexity5612
      @avoidcomplexity5612 4 роки тому +4

      Exactly

    • @kanikakansalpathshala1624
      @kanikakansalpathshala1624 2 роки тому

      ua-cam.com/video/fPqYoe4YP14/v-deo.html

    • @ShankarThakur-xo2fe
      @ShankarThakur-xo2fe 4 місяці тому +1

      Hello mam
      Actually it's my father id
      And i am using it.
      I am messaging you because even I am aparna 😅 currently I am a sophomore at nit kurukshetra😅.
      So I am your junior😅

  • @himanshuverma3727
    @himanshuverma3727 Місяць тому +6

    cant believe its 9 years old, top notch teaching, everything is crisp and clear.

  • @ovidiuvergil
    @ovidiuvergil 3 роки тому +109

    2:10 - hashing
    3:51 - hash table
    6:00 - hash function
    7:00 - collision
    7:47 - chaining
    9:49 - linear probing
    14:04 - quadratic probing
    linear
    quadratic

  • @RajPatel-uh9nd
    @RajPatel-uh9nd 3 роки тому +24

    I have never seen such a clear explanation of hashing. My search ends here! Thank you Prof.!

  • @dreadnautxbuddha
    @dreadnautxbuddha 4 роки тому +35

    I'm an IT grad and have just begun learning cs on my own. You, sir, are a blessing.

    • @84y87
      @84y87 2 роки тому +5

      IT grads aren’t taught all this in the course ?

    • @potatoisme1178
      @potatoisme1178 Рік тому

      ​@@84y87same question coz I'm still an undergrad IT but this is in our 2nd year curriculum 1st sem

    • @84y87
      @84y87 Рік тому +1

      @@potatoisme1178 I'm in 3rd year now lol, can confirm all this is pretty basic stuff and all IT grads, at least in my college were taught this.

  • @Bonecrusherdl
    @Bonecrusherdl 8 років тому +244

    Thank god for you indian guys with your yt videos

  • @abhinavs03
    @abhinavs03 6 років тому +419

    If you have an exam tomorrow, skip to 3:53 😃😃

  • @tommylau7457
    @tommylau7457 3 роки тому +48

    omg it sounded similar and so good, then i found out, oh! you are the tutor who teach C++ on udemy! btw you are soooo good.

    • @abdul_bari
      @abdul_bari  3 роки тому +20

      Glad I could help!

    • @harshsolanki3269
      @harshsolanki3269 3 роки тому +2

      @@abdul_bari can you explain how to search after appying quadratic probing

    • @mehrosenasir9974
      @mehrosenasir9974 3 роки тому +1

      @@harshsolanki3269 pass the value to the formula and verify the index, if it doesn't contain the desired value then keep on incrementing the I, just like we did for insertion

  • @muhammadtahahaqqani4141
    @muhammadtahahaqqani4141 5 років тому +45

    Your explanations are so clear and to the point. Thank you Sir for being so patient and explaining everything so well!

  • @suryapunjsharma9647
    @suryapunjsharma9647 5 років тому +15

    My whole unit in 17 minutes ......just wow! Truly appreciate it man.

  • @bharatigupta3126
    @bharatigupta3126 3 роки тому +17

    Thank You Sir, because of you I am placed in an MNC and looking forward to achieve great things Once again thank you....Your Content is awesome and easy to understand

  • @geekyprogrammer4831
    @geekyprogrammer4831 5 років тому +46

    you are really one of the best instructors of algorithms Sir!

  • @sihameelmouatasim-bih812
    @sihameelmouatasim-bih812 2 роки тому +1

    Ovidiu Sampalean
    Ovidiu Sampalean
    il y a 11 mois (modifié)
    2:10 - hashing
    3:51 - hash table
    6:00 - hash function
    7:00 - collision
    7:47 - chaining
    9:49 - linear probing
    14:04 - quadratic probing
    linear
    quadratic
    46
    Muhammad Taha Haqqani
    Muhammad Taha Haqqani
    il y a 2 ans
    Your explanations are so clear and to the point. Thank you Sir for being so patient and explaining everything so well!
    21
    Bharati Gupta
    Bharati Gupta
    il y a 6 mois

  • @sweatyguysteve2056
    @sweatyguysteve2056 6 років тому +17

    This was a way better explanation then the author of "Cracking The Coding Interview" explained it. Great job!

  • @mrpotato2027
    @mrpotato2027 2 роки тому +6

    I have used this channel throughout my undergrad and for preparing for interviews. It has been extremely helpful. Thank you so much for this. ::)

  • @harshitasingh963
    @harshitasingh963 5 років тому +25

    Everything's so crisp ...precise and to the point . Your lectures are really an elixir for passing dsa . Couldn't be thankful enough 🙂

  • @achrafBadiry
    @achrafBadiry Рік тому +1

    The clearest explanation after watching many videos with no idea what they are talking about. Thank you

  • @hadywolf5866
    @hadywolf5866 4 роки тому +5

    السلام عليكم
    Magnificent, you are just magnificent, sir!
    I was suffering not understanding this hashing crab for almost 16 days, and then I found you, and it has been simplified in 16 minutes, what the heck!

  • @rubyPWNS1
    @rubyPWNS1 2 роки тому +5

    You are my probe of light. You shine your knowledge into my day as I struggle with algorithms in my analysis class. You show me the path towards earning my degree. I owe many thanks to you, yet it will never be enough. One day if our paths crosses, I shall buy you briyani.

  • @somparnachakrabarti5616
    @somparnachakrabarti5616 3 роки тому

    If this is the first video that came up on your search result on hashing then dont go anywhere else!This is by far the best explanation you could find on youtube.

  • @moroccanpost4539
    @moroccanpost4539 14 днів тому

    Hello, I am a cs student from Morocco, i really appreciate you Mr abdul, you are absolutely the best CS teacher alive

  • @ahsansiraj7505
    @ahsansiraj7505 Рік тому +1

    happines is when we search any topic and find the video of mr abdul bari sir... well done sir..GOAT LEVEL EXPLANATION ❤😊

  • @jamshaidmushtaq1811
    @jamshaidmushtaq1811 4 роки тому +6

    Along with Professor Leonard for mathematics, you are a life-saver for us regarding Data Structures. sir. Bravo!

  • @navalkumarshukla9447
    @navalkumarshukla9447 4 роки тому +11

    Thank you sir, we could clearly see that you have put some extra efforts in this video, and we genuinely appreciate that.

  • @sohebkhan4230
    @sohebkhan4230 4 роки тому +1

    Koi jawab nhi aapka..Ek tarfa padaya apne..Thanks sir

  • @victore5536
    @victore5536 Рік тому +1

    Here, one of the most important concepts in computer science is very well explained by one of the greatest professors! Thank you!

  • @maclo97
    @maclo97 7 років тому +158

    better than my professor in college

  • @makingachanneltopost
    @makingachanneltopost 9 місяців тому

    I would just like to say I really, really like Abdul Bari's teaching technique.
    I've been in the Silicon Valley as a developer for almost 20 years, and I wish there were more teachers like Abdul. He has a very graceful style of teaching that I wish more teachers would adapt.
    I like that he doesn't just jump into material, instead he says "I'm going to teach you X, Y, and Z", and then he repeats "this is how you do X, Y, and Z", then he teaches the material.
    I don't care how long you've been in the computer science field, there's always something to learn from someone, and Abdul has a lot of good lessons to teach.

  • @reddymaestro3569
    @reddymaestro3569 5 років тому +3

    this is the best explanation that i have seen in my career for hashmap in java

  • @ketkipatil8309
    @ketkipatil8309 4 роки тому +1

    You are GOD sir.....for basic DSA concepts....the topics which I was fearing for 1 year..you made so effortlessly easy...Thankyou so much sir...

  • @alessiodenny6123
    @alessiodenny6123 4 роки тому +4

    excellent explanation !!. Clear and straight to the point. Took me 10 minutes to understand what I could not understand in school for 3 hours.

  • @EinzigartigesLeben
    @EinzigartigesLeben 6 місяців тому +2

    God you just saved me at least an hour with the slides of my prof lol. Thank you and god bless you

  • @pratyushukla
    @pratyushukla 5 років тому +3

    Hashing done in 17minutes. Thank you for making this video.

  • @SidIndian082
    @SidIndian082 Рік тому +1

    Brilliantly explained Linear Probing & quadratic probing ... 🤩🤩😍😍🥰🥰🤩😘😘😘

  • @wahnik6112
    @wahnik6112 5 років тому +1

    Sir u the best teacher .. even our data structures teacher follows you only

  • @vb63
    @vb63 6 років тому +5

    Excellent explanation, you explain all the concepts in such simple manner.I was having tough time understanding datastructures and alogorithms but thank god i found your videos.Lots of respect to you sir. ~ from Venkatesh.

    • @vb63
      @vb63 6 років тому

      i was thinking of joining a course to learn data structures and algorithms, and they were asking 21,000 rupees.I was almost going to join when i found your videos.

  • @abidaadil6303
    @abidaadil6303 2 роки тому +3

    No words to express my gratitude Sir 🙏 ....May Almighty shower His choicest blessings upon you n ur family....Thank U Sir....🙏💐

  • @chingiskhant4971
    @chingiskhant4971 5 років тому +96

    Recommendation: The perfect playback speed is 1.5x.

  • @MichaelKazembe
    @MichaelKazembe Рік тому +1

    How are you this good at explaining these concepts? I'm blown away

  • @photoninadoubleslit8405
    @photoninadoubleslit8405 3 роки тому +1

    Thank you sir! I have paper at 1'O Clock and I'm watching this video at 11. But totally confident about this concept...

  • @olastenberg4964
    @olastenberg4964 7 років тому +2

    Great, every question that popped in to my head was answered and explained a few seconds after, through the entire video!

  • @Androidtricksforu
    @Androidtricksforu 2 роки тому +1

    Sir Your all videos are very simple to understand and full of knowledge.thank you for making such videos,🙏

  • @shariulekab
    @shariulekab 3 роки тому

    Best Teacher and best lecture over youtube for any kind of problem

  • @adilbundhoo3079
    @adilbundhoo3079 6 років тому +66

    man that was next level explanation

  • @ryandavis7506
    @ryandavis7506 5 років тому +5

    best explanation I've seen so far

  • @niranjanshettymay
    @niranjanshettymay 3 роки тому +1

    Very clear explanation. Please continue posting more videos. It was very helpful.

  • @godnoss466
    @godnoss466 3 роки тому +1

    nice video , 100% recommended
    to learn hashing and its functions

  • @letsknow7676
    @letsknow7676 3 роки тому +1

    Shaandaar explanation....
    Very helpful video
    Thank you so much sir.

  • @ayubaiddrisu609
    @ayubaiddrisu609 4 місяці тому +1

    Sir you really a good teacher ❤

  • @favthingzz
    @favthingzz 5 років тому +2

    Very thank you sir..after listening Ur class I get clarity on this topic.very clear explanation.

  • @yisahkelvin1532
    @yisahkelvin1532 2 роки тому +1

    You are the best teacher in this youtube. What a fantastic explanation in such a short time. #Woow #HatsOff

  • @davidjames1684
    @davidjames1684 5 років тому +5

    If you want to know if a range of integers has been seen or not already on input, an array of flags would suffice. You could just prescan the array to determine the lowest and highest values (such as 3 is the lowest and 50 is the highest), then you can just make the array from 3 to 50. Space is not really an issue but if you had a low of 3 and a high of say 1 million and not much in between, you could have an "on the fly" hash function that modifies itself to force "oddball" numbers into a smaller space "on the fly" with minimal collisions.

  • @venikasruthiannam7656
    @venikasruthiannam7656 3 роки тому +2

    OMG sir,, this is super osm!!!!
    I just loved the content. Please make more videos!
    REAL TALENT!

  • @SHRUTIGUPTAism
    @SHRUTIGUPTAism 6 років тому +1

    your teaching method is really very very much effective.thank you so much sir

  • @satya-official
    @satya-official 6 років тому +3

    very good explanation Sir !!!!!!!!!!!
    Keep making this type of videos.
    I have seen All your Algorithm Analysis videos. I am a huge fan of your teaching style !!!!!!!!!!

  • @rajendramisir3530
    @rajendramisir3530 2 роки тому +2

    The hash functions or algorithms for linear and quadratic probing to resolve Hash Table index collisions are interesting. Excellent explanation. One use case where Mathematical models are used to resolve data search collisions.

  • @teenschool282
    @teenschool282 2 роки тому +2

    Hashing has never sounded so easy🥰🥰

  • @sakshamsrivastava6280
    @sakshamsrivastava6280 4 роки тому +2

    This is pure gold.
    Thankyou sir!!

  • @lancezhang892
    @lancezhang892 11 місяців тому +1

    Linear probing ,quadratic probing and open addressing, perfect!

  • @saketh.vadlamudi
    @saketh.vadlamudi 5 років тому +2

    Thank you very much sir for making hashing concept crystal clear..... please do keep making videos like these

  • @ninapanou5217
    @ninapanou5217 8 років тому +10

    The most helpful video about hashing. Thank you so much, Sir. Keep up the good work!

  • @JaveedAther
    @JaveedAther 10 місяців тому

    Sir Hats off to your explanation. Thanks for existing.

  • @mafazpx
    @mafazpx 3 роки тому +1

    Very simple and excellent explanation.

  • @sibonilemthunzi6297
    @sibonilemthunzi6297 6 місяців тому

    wow you are just so good. this is the best video about hashing I have watched.

  • @krishnagavas6163
    @krishnagavas6163 6 років тому +1

    Beautiful explanation, must watch if u r new to hashing.👌👍

  • @chinmaydas4053
    @chinmaydas4053 7 років тому +1

    Your explanation is elaborative and in depth..thank you sir 🙏🙏..

  • @vishnu3851
    @vishnu3851 8 років тому +6

    A newbie like me was able to understand. Thanks a lot :)

  • @TheThelifegame
    @TheThelifegame 3 роки тому

    sir words cannot discripe how staight, clear your explanation is ... thank uuuuu

  • @MAHALAKSHMI-wq3eo
    @MAHALAKSHMI-wq3eo 3 роки тому +2

    You literally saved me sir, you are such a masterpiece🙏🙏🙏
    Thank youuu soo much sir, you're amaazing!!!👌👌👌

  • @andrewtol8756
    @andrewtol8756 Рік тому

    Thank you for your clear explanation. :-) One question I had is regarding quadratic probing. You said that it helps to avoid collision element clustering -- and it did, but it seems that it still requires the same number of lookup steps as it would need if linear probing had been applied and clustering had occurred.
    Ex: Suppose, as in the last example, that the key space is: 8, 3, 13, 23, 43, 10.
    Then, using linear probing: 3 is stored at index 3, 13 is stored at index 4, 23 is stored at index 5.
    // That's 3 index checks: h'(x) = [h(x) + f(i)] % 10, for f(i) = i, where i = 0, 1, and 2.
    Using quadratic probing: 3 is stored at index 3, 13 is stored at index 4, 23 is stored at index 7.
    // That's 3 index check: h'(x) = [h(x) + f(i)] % 10, for f(i) = i^2, where i = 0, 1, and 2.
    So, I'm wondering what the benefit is of using quadratic probing to avoid collision clustering? It still requires the same number of basic computations to lookup and element, it seems.

  • @kshirodmishra171
    @kshirodmishra171 6 років тому

    super sir. The best training about Hashing . So simple and an easy you made it......!!!!

  • @ashwiniv7053
    @ashwiniv7053 5 років тому +2

    Awesome explanation. Thank you Abdul.

  • @lamarfatani4928
    @lamarfatani4928 2 місяці тому

    idk where cs students would go without you abdulbari

  • @VinodKhanna007
    @VinodKhanna007 3 роки тому

    Thank U soo much sir ! When I open the book & some other channel for this topic My mind was boomerang! But after watching this just .. just 30 minutes I learned entire concept very very easily like peeling banana ! What an explanation sir G ! Thank u so much !

  • @mohammadahmedragab837
    @mohammadahmedragab837 3 роки тому +1

    big thank you , I have just discovered your amazing helpful valued channel. Many thanks from Egypt :)

  • @alexzimmerman3447
    @alexzimmerman3447 Рік тому

    These videos are saving me big time, I have a final for data structures tomorrow

  • @saadmanahmed860
    @saadmanahmed860 5 років тому +2

    pedantic explanation...good job

  • @MemesfromOhio999
    @MemesfromOhio999 5 років тому +21

    If we had teachers like him in colleges like IP University then we would have no need of going to coaching only e college lectures would suffice for our success 😓

  • @sagarmehla3781
    @sagarmehla3781 6 років тому +5

    Sir try to arrange your videos sub-topic wise. Like for tree,graph,algo etc.
    Your explanation are awesome.

  • @lonwabomfuntana6108
    @lonwabomfuntana6108 6 місяців тому

    you might actually be the greatest to ever do it

  • @vipulsingh4893
    @vipulsingh4893 2 роки тому

    Sur give a really good explanation of every topic hats off for u sir

  • @HabibiTau
    @HabibiTau Місяць тому

    I always think of dropping out of college and learning online from legends like you.😅

  • @mohsenmohammadian5329
    @mohsenmohammadian5329 8 місяців тому +1

    I like the video by default whenever I this man has recorded it as I'm sure I will clearly get the answer I'm looking for.

  • @gb_kash
    @gb_kash Місяць тому

    So beautifully explained. Thanks a lot 👍

  • @gopeswarnamasudra8895
    @gopeswarnamasudra8895 7 років тому +2

    Hope you make more videos your explanation is really clear and simple , thanks a lot

  • @Sadhana-i6i
    @Sadhana-i6i Рік тому

    Great respect to you sir❤, understood the concept very easily!

  • @Thekingslayer-ig5se
    @Thekingslayer-ig5se 11 місяців тому

    Fantastic tutorial
    I really learnt what hashing is

  • @MrHajabe
    @MrHajabe 7 років тому

    I gone through multiple hast table logic video, but this is gives nice explanation.thank you

  • @ravindracute
    @ravindracute 4 роки тому +1

    Awesome video...i was not aware of quadratic probing. Thanks

  • @aakashbhatia
    @aakashbhatia 5 місяців тому

    best video on hashing on the planet

  • @tejeshkrishnammagari7288
    @tejeshkrishnammagari7288 6 років тому +8

    Easily understandable,great job sir,thankyou

  • @chiragtyagi8733
    @chiragtyagi8733 4 роки тому

    Great Explanation Sir Well Done....😄

  • @Kaiser3493
    @Kaiser3493 6 років тому

    Thank you so much. Your video will make me pass this course. May god bless you.

  • @hemanegikhatri6075
    @hemanegikhatri6075 7 років тому +1

    this is the one i found the bestest lecture

  • @totekhan7427
    @totekhan7427 3 місяці тому

    Abdul Bari sir ji is a pure gem

  • @Prism684
    @Prism684 4 роки тому

    This is truly fast forward learning in fast world. Thanks.

  • @absoluteprogrammer8896
    @absoluteprogrammer8896 2 роки тому

    Good explanation Abdul Sir.👍

  • @neetugupta8019
    @neetugupta8019 5 років тому +2

    Your all videos just great ..thank you so much

  • @jaren_c
    @jaren_c 2 роки тому

    Damn excellent explanation.. Even 7 years later. Thanks!