Hashing - Collision Resolution with Linear Probing (Open Addressing)

Поделиться
HTML-код
  • Опубликовано: 24 июл 2024
  • This video lecture is produced by S. Saurabh. He is B.Tech from IIT and MS from USA.
    Hashing - collision resolution with closed hashing / open addressing
    Collision resolution with linear probing
    linear probing hashing example
    analysis of linear probing hashing
    individual displacements linear probing hashing
    asymptotic distribution the cost linear probing hashing
    exact distribution individual displacements linear probing
    load factor linear probing
    hashing linear probing example
    linear probing hash table example
    To study interview questions on Linked List watch • Programming Interviews...
    To prepare for programming Interview Questions on Binary Trees
    • Programming Interviews...
    To study programming Interview questions on Stack, Queues, Arrays visit
    • Programming Interviews...
    To watch all Programming Interview Questions visit
    • Programming Interviews...
    To learn about Pointers in C visit
    • Pointers in C (All you...
    To learn C programming from IITian S.Saurabh visit
    • C Programming Tutorial

Комментарии • 51

  • @sachinos
    @sachinos 8 лет назад

    in 2010 GATE exam i missed this linear probing question ,
    i think it would be so easy now to students to understand thing from world of internet by sharing ... hats off to you...

  • @andraspalfi5889
    @andraspalfi5889 9 лет назад +14

    Your videos are excellent and extremely helpful, thank you!

    • @saurabhschool
      @saurabhschool  9 лет назад +2

      ***** Thanks Andras, I am glad that my videos helped you!

  • @naiche.
    @naiche. 7 лет назад

    Learned this in class today, was good to watch such a well done recap video. Thanks!

  • @harikrishnanr4808
    @harikrishnanr4808 7 лет назад

    helped me a lot to understand the concepts. Thank you for this great video:)

  • @hmardah
    @hmardah 8 лет назад

    Thank you so much for your explaining. It is very useful for me to understand.

  • @sadiaafrin8041
    @sadiaafrin8041 9 лет назад

    thank you thank you thank you thank you, I love your video ^_^ u just saved my tomorrow's final exam :D

  • @sumitkushwaha9532
    @sumitkushwaha9532 9 лет назад

    gud job.....nice tutorial
    post something related to graphs....

  • @JfhuTheJedi
    @JfhuTheJedi 7 лет назад

    Thank you so much! this make sense now! Do you have a video for Double hashing?

  • @mojganhtn6360
    @mojganhtn6360 7 лет назад +1

    thank you ... it really helps me

  • @naviddaneshvaran5411
    @naviddaneshvaran5411 6 лет назад

    It was so clear and comprehensive
    Thanks alot

  • @korml
    @korml 9 лет назад

    Great explanation :)
    Thank you!

  • @poshakajay
    @poshakajay 2 года назад

    What will be the time complexity of deletion? Because deletion will create a hole in the array, which needs to be filled by moving subsequent elements to preceding index otherwise some elements will be rendered inaccessible.

  • @user-pr8vh7wv6j
    @user-pr8vh7wv6j 9 лет назад

    thank for your video, i study before exam ,i understand this video thank a lot my freind

  • @Ash-ui7sp
    @Ash-ui7sp 7 лет назад

    Could you please tell me the cost of insertion and cost of search for linear, quadratic, and double hash?

  • @JohnnyFive
    @JohnnyFive 9 лет назад +11

    fantastic video!

  • @redherring27
    @redherring27 9 лет назад +9

    Namaste, thanks 😀✌

    • @saurabhschool
      @saurabhschool  9 лет назад +2

      redherring27 You are most welcome redherring27 :)

  • @dulajsanjaya
    @dulajsanjaya 8 лет назад

    great explanation.!

  • @akhileshparmar1061
    @akhileshparmar1061 8 лет назад

    Very helpful hashing videos. Makes you learn simply and quickly.
    I didn't understand one concept:
    Why load factor should be less than .5 in leaning probing??

    • @anotherally8320
      @anotherally8320 8 лет назад

      +Akhilesh Parmar Imagine if you had a hash table, with a load factor at about 0.9
      Then when you try to add a new element to your table, it might not find a space at first, and so it will start searching through the table, and because you have a load factor at 0.9, this can end up taking a really long time, so it makes it ineffecient to have a big load factor.
      This is how i understod it^^

  • @siddharathghai3791
    @siddharathghai3791 7 лет назад

    Sir the answer you gave for successful search is not the same what we calculate from the derived formula ie
    (1 /2)(1 + 1/ (1 − λ) )??

  • @HK-no9wm
    @HK-no9wm 6 лет назад

    Good job sir!

  • @sharanbhat5248
    @sharanbhat5248 7 лет назад

    I have a doubt. You explained that if collision happens it will start searching for free space from start. I guess it will start from higher index than its matching index. for example 8 and 18 where both have modulus 8 so 8 is inserted into index 8 and 18 into next free index that is 9. Please correct me if I'm wrong.

  • @deepanshukapoor
    @deepanshukapoor 8 лет назад

    thanx bro ....u saved me

  • @ojeshpathak6201
    @ojeshpathak6201 9 лет назад

    great lecture

  • @PoIysaccharide
    @PoIysaccharide 9 лет назад

    really helpful!

  • @animeshpathak3921
    @animeshpathak3921 4 года назад

    i wrote something else in the exam even though i knew this techinque.why am i like this?

  • @bhavneetsingh6893
    @bhavneetsingh6893 7 лет назад

    in first case you have taken m = 10
    but my lecturer told me we should not take m close to 2 power n
    Please tell me why

  • @SunnyKumar-wp6wp
    @SunnyKumar-wp6wp 7 лет назад

    Awsm teaching

  • @madhusri4158
    @madhusri4158 8 лет назад +5

    Its so easy thankyou

    • @goyo8456
      @goyo8456 8 лет назад +1

      I'm guessing youre cramming as well lol

  • @srisubhash8421
    @srisubhash8421 7 лет назад

    is open hashing also collision resolution method?

  • @anthmajor5326
    @anthmajor5326 6 лет назад

    Thank you!

  • @xjoel163
    @xjoel163 5 лет назад

    Better than my prof :)

  • @jiayilai4956
    @jiayilai4956 7 лет назад

    How can I get the sildes?

  • @elpeopuru3003
    @elpeopuru3003 9 лет назад

    thanks dude

  • @stavrosfilippidis97
    @stavrosfilippidis97 9 лет назад

    Thanks a lot :)

  • @Ottovillem
    @Ottovillem 6 лет назад

    Thanks man! :D

  • @srisubhash8421
    @srisubhash8421 7 лет назад

    how we will get i value??

  • @ankitbartwal1043
    @ankitbartwal1043 6 лет назад

    How to solve characters?

  • @hotskulljr
    @hotskulljr 8 лет назад

    linkb up ?

    • @SOAD525
      @SOAD525 7 лет назад

      "Mobelow tin"

  • @hassaansyed1064
    @hassaansyed1064 8 лет назад +1

    lol 25 % 11 is not equal to 4

    • @SunnyKumar-wp6wp
      @SunnyKumar-wp6wp 7 лет назад +1

      Little mistake cannot prove that that he is totally wrong...