L-6.5: Imp Question on Hashing | Linear Probing for Collision in Hash Table | GATE Questions

  Рет қаралды 348,935

Gate Smashers

Gate Smashers

Күн бұрын

Пікірлер
@muhammadiqbalbazmi9275
@muhammadiqbalbazmi9275 5 жыл бұрын
A vigorous teacher. Quality unmatched.
@indianlardka2214
@indianlardka2214 9 ай бұрын
Science haram ha . Niklo harami.
@astrodeeptej
@astrodeeptej 2 жыл бұрын
i think our initial value for probe should be zero, and not 1, because if we apply the linear probing function for first try, then H(k, 0)=(h(k)+0)=h(k) seems correct but if we take 1 then H(k, 1)=(h(k) + 1) will be the ans for the first check itself
@AyushSingh-vz8sc
@AyushSingh-vz8sc Жыл бұрын
Exactly I think maximum probe value should be 8 Because in case of key=8--> 8*8mod10=4 And when probe value is 8 Then hash function becomes (8*8)+8mod10=2 Which is the correct position. However if we take probe number as 9 we get hash value as 3 which is incorrect as we are inserting the element on 2nd position.
@NoumanHafeez-y3p
@NoumanHafeez-y3p 6 ай бұрын
Exactly@@AyushSingh-vz8sc
@mukulsharma5055
@mukulsharma5055 4 ай бұрын
Yes you are correct
@Yash2.0Sharma
@Yash2.0Sharma 20 күн бұрын
I think sir is crct don't consider i as probing value ,it will give wrong and just manually check probing value then it will ove right ans
@hemant_kumar_o4
@hemant_kumar_o4 8 күн бұрын
I think prob number and prob value are two different things
@junaidrashid6147
@junaidrashid6147 3 жыл бұрын
I am from kashmir Sir I am big fan of u may u live long
@saurabhbaloni8209
@saurabhbaloni8209 Жыл бұрын
Hope you guys don't breach the security 🙏
@akhilesh8324
@akhilesh8324 10 ай бұрын
Yaha par patthar bazi mat karna
@Developwithimran
@Developwithimran 10 ай бұрын
​@@akhilesh8324 Pathar sY darty hoo darphok
@Faizify1
@Faizify1 17 күн бұрын
Kashmir mez kaeth jayee chuk roza bayya..
@shubhamsingh-xw3tf
@shubhamsingh-xw3tf 2 жыл бұрын
I was banging my head against the wall to understand Hashing and these set of videos are very apt and clear. Thank you so much sir ❤️
@codingjony7400
@codingjony7400 11 ай бұрын
I was fucking your mom during your wall banging phase
@aary-s3e
@aary-s3e 10 ай бұрын
bro maybe you are dumb
@suchitathakur5913
@suchitathakur5913 3 жыл бұрын
Everything will be easy until a good teacher like you teaches 🧡🧡
@taneshbalodi3620
@taneshbalodi3620 3 жыл бұрын
A BIGG thanks to you for saving me every time, Loads of love to you.
@nooriiusman123
@nooriiusman123 4 жыл бұрын
Great bht achaa smjhyea apne keep it up bro
@aadarshkumar7505
@aadarshkumar7505 3 жыл бұрын
Very-2 good lacture sir. I am fan of u. I am a student of MCA and I try to many time to solve this question in the class but it not happen. And now it's to easy like 2-3 table.😀 Thanks sir.🙏
@umamaheswariseralathan6924
@umamaheswariseralathan6924 7 ай бұрын
I am from Tamil Nadu, but I could understand every concept of you sir, Thank you so much sir.
@preetireddy5668
@preetireddy5668 5 жыл бұрын
You so good in ur concepts
@moonfahim
@moonfahim 6 ай бұрын
your explaining is so clear that I can say you the best teacher
@himanshutiwari1951
@himanshutiwari1951 7 ай бұрын
thanks for this valuable content sir if you were not on youtube then many of students not cleared their uni exams easily !!
@puskarbanerjee4903
@puskarbanerjee4903 5 күн бұрын
One day some of my friends were in a serious discussion upon hashing, I felt jealous and a bit disgrace that they had made a great progress! Once our dsa professor asked a question from hashing and though he hadn't tought it yet , one of them answered, which made me start learning about it! I thought that it must be an intricate topic, and mastering it would be a great progress, but after seeing your videos, i still think so😂
@zeetechtube8273
@zeetechtube8273 4 жыл бұрын
Quality Lectures kindly provide Linked List lectures please .
@MuhammadAfzal-pl2sp
@MuhammadAfzal-pl2sp 4 жыл бұрын
Good explanation. To day is my paper of this subject.
@GateSmashers
@GateSmashers 4 жыл бұрын
All the best
@MuhammadAfzal-pl2sp
@MuhammadAfzal-pl2sp 4 жыл бұрын
@@GateSmashersthank you so much sir. I have attempt. Joins, index are hot topics but you did not make videos on view and Hashing in DBMS. Also important topics.
@nafisakhan5425
@nafisakhan5425 3 жыл бұрын
Great explanation sir...
@Itzsainiqueen29
@Itzsainiqueen29 4 жыл бұрын
Sir ap bhut amazing study karte ho👏👏👏
@mshayanilyas8976
@mshayanilyas8976 2 жыл бұрын
Thank you Very Much You are a great Teacher
@anudeepm4883
@anudeepm4883 10 ай бұрын
sir in L-6.2 you said that open hasing includes (chaining) and closed hashing includes (linear, quadratic probing and double hasshing) but in this video its different. Can you plz clarify which one to follow
@akravi8926
@akravi8926 5 жыл бұрын
hats off sir.. thank you so much
@vijone111
@vijone111 5 жыл бұрын
Always salute you Sir for your Skills
@Aarti-Sweetshots
@Aarti-Sweetshots 4 жыл бұрын
Thanks Sir for starting this channel
@zoyashokat513
@zoyashokat513 4 жыл бұрын
good teacher i like ur teaching method and appricate u
@muhammadtayyabtahirqureshi7186
@muhammadtayyabtahirqureshi7186 2 жыл бұрын
I like your videos before I watch them bcz im always sure that you will provide the best...
@ektatyagi2227
@ektatyagi2227 3 жыл бұрын
Thankyouu sir ❤️ for making this hashing so easy❤️
@abidjamil-v1y
@abidjamil-v1y Жыл бұрын
dear sir, I am from Pakistan,,,, I am heartly thankfull of you.
@prajaktakhobragade7314
@prajaktakhobragade7314 4 жыл бұрын
Best CS Teacher on KZbin
@sahilmorey3304
@sahilmorey3304 15 күн бұрын
Dhanyawad sir 🙏🙏
@Aishwarya1405-w9m
@Aishwarya1405-w9m 5 жыл бұрын
Thank you sir😎
@alishachhabra7995
@alishachhabra7995 3 жыл бұрын
WOW video
@asifnoor2863
@asifnoor2863 4 жыл бұрын
Please upload one more video on hashing concept and especially for chaining
@uniqueelsa5959
@uniqueelsa5959 2 жыл бұрын
UNDERRRATEDDDDDDDDDDD
@SHASHANKRUSTAGII
@SHASHANKRUSTAGII 5 жыл бұрын
Bahut efforts. Love u
@arjumandvillagelife
@arjumandvillagelife 3 жыл бұрын
really helpful
@arpangupta2162
@arpangupta2162 5 жыл бұрын
Concept refreshed Motto successful
@pushpanjalijha2779
@pushpanjalijha2779 Жыл бұрын
Thank you for explaining
@kiran-yl9wd
@kiran-yl9wd 4 жыл бұрын
Thank you sir
@SangArt
@SangArt 2 жыл бұрын
Sir, how did u get the max probe value as 9. I calculated and got 8. (4+8)mod10 is 2. So it comes to 2nd position. But if we take probe value is 9 then it will be (4+9)mod10 which is 3 then if it was 9 then it would have gone to 13th position right?
@kavithapriyacj4868
@kavithapriyacj4868 2 жыл бұрын
i too have same doubt dude...any idea u got
@SangArt
@SangArt 2 жыл бұрын
@@kavithapriyacj4868 I just found it to be 8
@SangArt
@SangArt 2 жыл бұрын
@@kavithapriyacj4868 did u try calculating it
@storyoflisa
@storyoflisa 3 жыл бұрын
Use Quadratic probing to insert the following keys to the table 90, 20, 51, 60, 11,26, 38 Hash function is hash(x) = x mod 12. kindely plz sir solve this problem
@rubabsheikh8407
@rubabsheikh8407 4 жыл бұрын
Bravo....
@krishanudutta2943
@krishanudutta2943 3 жыл бұрын
Excellent sir
@tarunbhatia9791
@tarunbhatia9791 5 жыл бұрын
Sir plz december 2019 ka net ka paper solve li video upload kr do plz ...
@happycoding5163
@happycoding5163 3 жыл бұрын
perfectly explained....
@GAU-C--RATNAKANTAHANSE
@GAU-C--RATNAKANTAHANSE 3 жыл бұрын
Thank you sir.....
@rahuldevlekar6809
@rahuldevlekar6809 4 жыл бұрын
Sir I want this to watch this hashing technique topic from starting to end . From intro to end . Please send me link of rest lec .
@vinothinijawahar6938
@vinothinijawahar6938 5 жыл бұрын
Request for a session on greedy algo nd algos
@Errrric123
@Errrric123 2 жыл бұрын
Thanks sir
@rohitkumarj632
@rohitkumarj632 5 жыл бұрын
Sir what if the table length is 8 and key elements are 9 and if linear probe must be used? Can it be possible?
@shivanidhavi7625
@shivanidhavi7625 4 жыл бұрын
best best best😍👌
@amiqsamuel1557
@amiqsamuel1557 4 жыл бұрын
v.good tutorial
@akashbansal5501
@akashbansal5501 3 жыл бұрын
❤️❤️❤️
@PratimaYadav-bg3ug
@PratimaYadav-bg3ug 4 жыл бұрын
Thanku sir 🙏
@sundramdubey5782
@sundramdubey5782 5 жыл бұрын
nice & thanks....... 4th comment
@AadeshingaleOfficial-zl5fd
@AadeshingaleOfficial-zl5fd 10 ай бұрын
Nice Sir ☺️
@kholavirk2158
@kholavirk2158 Жыл бұрын
If mod is greater then value and answer is given in point just like 1.6 then in which position we inset value
@arshmaryam9785
@arshmaryam9785 4 жыл бұрын
Please elaborate this topic Load factor Please explain
@muhammadzulqurnain4153
@muhammadzulqurnain4153 3 жыл бұрын
Thanks
@aakashgautam2200
@aakashgautam2200 4 жыл бұрын
probe value should be 8 you counted 1 for the first time but it must be started from 0 .
@alishachhabra7995
@alishachhabra7995 3 жыл бұрын
No, it is 9 count again
@SangArt
@SangArt 2 жыл бұрын
@@alishachhabra7995 @Aakash Gautam even I got probe value as 8. Coz (4+8)mod10 which is 2 so we end up at 2nd position but if it was probe 9 then it would have ended up at the 3rd position which we didn't
@achyutkumarsingh7308
@achyutkumarsingh7308 4 жыл бұрын
Tnk you sir
@crazyduniya128
@crazyduniya128 2 жыл бұрын
Captions are awesome 😂😂😂😂
@anweshadas7699
@anweshadas7699 3 жыл бұрын
Plz explain dobule hashing
@laxmanpatil1517
@laxmanpatil1517 3 жыл бұрын
⭐⭐⭐⭐⭐
@shonekuncheria3307
@shonekuncheria3307 2 жыл бұрын
is linear probing used in open addressing or closed addressing? you said in the previous video that it is used in closed addressing
@debaratibanik01
@debaratibanik01 2 жыл бұрын
Linear probing is used in open addressing ( open addressing is called closed hashing) (and the chaining is called open hashing)
@yashvisoni5819
@yashvisoni5819 4 жыл бұрын
Sir ye video vo dbms ki playlist me nahi hai
@shreyashinilay9730
@shreyashinilay9730 Жыл бұрын
probe number is number of collisions then according to formula it is coming 8 (4+8)%10 and according to definition it is 8 because no. of collisions is 8...... how come 9 is the answer?
@shuvshaw9594
@shuvshaw9594 4 жыл бұрын
Very helpful
@darshitatripathi105
@darshitatripathi105 2 жыл бұрын
Open adressing m aapne chaining batayi thi
@SangArt
@SangArt 2 жыл бұрын
No that was open hashing. This is open addressing. Open addressing is also know as closed hashing
@AnshuRoy-r9d
@AnshuRoy-r9d 8 ай бұрын
Sir you said linear is closed hashing in the previous video but now in this videa you are saying it in the open hashing 🤔🤔
@siddiquiadnan92
@siddiquiadnan92 4 жыл бұрын
What is time complexity for hash
@babbarutkarsh7770
@babbarutkarsh7770 4 жыл бұрын
Which CS subject does it come under, DBMS or OS? Cause I don’t think its included in any playlist of yours.
@gaurimandot5788
@gaurimandot5788 2 жыл бұрын
DSA
@lisasamaddar4160
@lisasamaddar4160 Жыл бұрын
Data structure
@zeetechtube8273
@zeetechtube8273 4 жыл бұрын
if the length of the hash table cant be given in the Question what we do .?
@kholavirk2158
@kholavirk2158 Жыл бұрын
Sir if mod are not given then what we do please answer me
@vivekrana1657
@vivekrana1657 Жыл бұрын
Hash table length 15 hi jaye to kya hoga size of hash table
@AamirK11
@AamirK11 Жыл бұрын
0-14
@abhishekgupta0479
@abhishekgupta0479 4 ай бұрын
sorry but I have doubt in previous video you make diagram in which linear probing is under in closed hashing now you are saying it is in open Hashing
@DSA.In.C
@DSA.In.C 4 ай бұрын
Sir isme number of collision nhi aaya why
@kholavirk2158
@kholavirk2158 Жыл бұрын
If size are given but mod are not given what we do
@DSA.In.C
@DSA.In.C 4 ай бұрын
Prob value ko hi collision kahte hai
@swatiraj5462
@swatiraj5462 5 жыл бұрын
what if the length is not provided?
@saleemhafiz19
@saleemhafiz19 11 ай бұрын
Plz anybody confirm. Is the max prob 9 or 8?
@lord_yzal
@lord_yzal 2 жыл бұрын
@mohammadhamzatariq779
@mohammadhamzatariq779 10 ай бұрын
Sir kash ye dekh liya hota 😢😢
@guojunhuang4092
@guojunhuang4092 4 жыл бұрын
is this video in English?
@ParthPaTeL-wm3kt
@ParthPaTeL-wm3kt 11 ай бұрын
Wrong Explanation, Probe value = number of collision, not as your explanation.
@naveenrawat1549
@naveenrawat1549 6 ай бұрын
Brother then it's the same because you don't want to check if it is not colliding at that spot
@sunitamp4723
@sunitamp4723 5 жыл бұрын
Sir ye kis subject ka question hai sir
@Aishwarya1405-w9m
@Aishwarya1405-w9m 5 жыл бұрын
Data structures
@sunilkumarsam150
@sunilkumarsam150 5 жыл бұрын
Hashing in data structure
@Aisha_Singh1
@Aisha_Singh1 11 ай бұрын
Probe value of 8 is 8
@ridamazhar6879
@ridamazhar6879 4 жыл бұрын
625÷10 ans is 62. 5 mood kesy niklty h olzz btaye
@Gamechanger..601
@Gamechanger..601 3 жыл бұрын
Mod meand remainder value... to ur ans will be 5
@shahwaliweb6505
@shahwaliweb6505 4 ай бұрын
Exam remaining only 24 minutes 😪
@rubabsheikh8407
@rubabsheikh8407 4 жыл бұрын
Normal ap s seekh re huh... mjy normal b nae are
@sanchitasharma5435
@sanchitasharma5435 Жыл бұрын
1 mod 10 remainder toh 0 hai
@aryyann05
@aryyann05 6 ай бұрын
dil pe haath rkh ke bol ki 1%10 = 1 nhi hota
@Recap_box
@Recap_box 7 ай бұрын
🪄 ✨ magic' by master
@shafiabatool8528
@shafiabatool8528 6 ай бұрын
9 mod 10= 1 not 9
Most Expected 30 Questions for GATE 2020 CSE | Question No #27
13:14
L-6.6: Quadratic Probing in Hashing with example
7:41
Gate Smashers
Рет қаралды 410 М.
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2,3 МЛН
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 161 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 26 МЛН
Why is Python 150X slower than C?
10:45
Mehul - Codedamn
Рет қаралды 31 М.
Hashing Technique - Simplified
17:04
Abdul Bari
Рет қаралды 776 М.
2 Years of C++ Programming
8:20
Zyger
Рет қаралды 4,1 М.
Lec-60: AVL Tree Creation in Data Structure | All Imp Points
12:53
Gate Smashers
Рет қаралды 614 М.
SHOCKING WORLD CHAMPIONSHIP GAME 5!!!
20:15
GothamChess
Рет қаралды 265 М.
L-6.4: Linear Probing in Hashing with example
12:40
Gate Smashers
Рет қаралды 559 М.
L-3.8: Introduction to Heap Tree with examples | Max Min Heap
7:45
Gate Smashers
Рет қаралды 739 М.