No video

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

  Рет қаралды 302,208

Gate Smashers

Gate Smashers

Күн бұрын

#Hashing #HashTable #OpenAddressing #LinearProbing
👉Subscribe to our new channel: / @varunainashots
►Design and Analysis of algorithms (DAA) (Complete Playlist):
• Design and Analysis of...
Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
► Operating System :
• Operating System (Comp...
►Database Management System:
• DBMS (Database Managem...
► Theory of Computation
• TOC(Theory of Computat...
►Artificial Intelligence:
• Artificial Intelligenc...
►Computer Networks (Complete Playlist):
• Computer Networks (Com...
►Computer Architecture (Complete Playlist):
• Computer Organization ...
►Structured Query Language (SQL):
• Structured Query Langu...
►Discrete Mathematics:
• Discrete Mathematics
►Compiler Design:
• Compiler Design (Compl...
►Number System:
• Number system
►Cloud Computing & BIG Data:
• Cloud Computing & BIG ...
►Software Engineering:
• Software Engineering
►Data Structure:
• Data Structure
►Graph Theory:
• Graph Theory
►Programming in C:
• C Programming
►Digital Logic:
• Digital Logic (Complet...
---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
► Subscribe to us on KZbin: / gatesmashers
► Like our page on Facebook: / gatesmashers
► Follow us on Instagram: / gate.smashers
► Follow us on Instagram: / varunainashots
► Follow us on Telegram: t.me/gatesmash...
► Follow us on Threads: www.threads.ne...
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Email us at: gatesmashers2018@gmail.com

Пікірлер: 115
@muhammadiqbalbazmi9275
@muhammadiqbalbazmi9275 5 жыл бұрын
A vigorous teacher. Quality unmatched.
@indianlardka2214
@indianlardka2214 6 ай бұрын
Science haram ha . Niklo harami.
@AstroDeeptej
@AstroDeeptej Жыл бұрын
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.
@user-ff9ks9vj8w
@user-ff9ks9vj8w 3 ай бұрын
Exactly@@AyushSingh-vz8sc
@mukulsharma5055
@mukulsharma5055 26 күн бұрын
Yes you are correct
@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 7 ай бұрын
I was fucking your mom during your wall banging phase
@user-xy7ps4jf8f
@user-xy7ps4jf8f 7 ай бұрын
bro maybe you are dumb
@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 7 ай бұрын
Yaha par patthar bazi mat karna
@Developwithimran
@Developwithimran 7 ай бұрын
​@@akhilesh8324 Pathar sY darty hoo darphok
@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.
@muhammadtayyabtahirqureshi7186
@muhammadtayyabtahirqureshi7186 2 жыл бұрын
I like your videos before I watch them bcz im always sure that you will provide the best...
@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.🙏
@nooriiusman123
@nooriiusman123 3 жыл бұрын
Great bht achaa smjhyea apne keep it up bro
@moonfahim
@moonfahim 3 ай бұрын
your explaining is so clear that I can say you the best teacher
@umamaheswariseralathan6924
@umamaheswariseralathan6924 4 ай бұрын
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
@mshayanilyas8976
@mshayanilyas8976 2 жыл бұрын
Thank you Very Much You are a great Teacher
@himanshutiwari1951
@himanshutiwari1951 4 ай бұрын
thanks for this valuable content sir if you were not on youtube then many of students not cleared their uni exams easily !!
@vijone111
@vijone111 5 жыл бұрын
Always salute you Sir for your Skills
@akravi8926
@akravi8926 5 жыл бұрын
hats off sir.. thank you so much
@ektatyagi2227
@ektatyagi2227 3 жыл бұрын
Thankyouu sir ❤️ for making this hashing so easy❤️
@anudeepm4883
@anudeepm4883 7 ай бұрын
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
@Aarti-Sweetshots
@Aarti-Sweetshots 3 жыл бұрын
Thanks Sir for starting this channel
@nafisakhan5425
@nafisakhan5425 3 жыл бұрын
Great explanation sir...
@Itzsainiqueen29
@Itzsainiqueen29 4 жыл бұрын
Sir ap bhut amazing study karte ho👏👏👏
@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
@zoyashokat513
@zoyashokat513 4 жыл бұрын
good teacher i like ur teaching method and appricate u
@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.
@zeetechtube8273
@zeetechtube8273 4 жыл бұрын
Quality Lectures kindly provide Linked List lectures please .
@Aisha0512
@Aisha0512 5 жыл бұрын
Thank you sir😎
@prajaktakhobragade7314
@prajaktakhobragade7314 4 жыл бұрын
Best CS Teacher on KZbin
@user-nc3ys7jf2k
@user-nc3ys7jf2k Жыл бұрын
dear sir, I am from Pakistan,,,, I am heartly thankfull of you.
@arpangupta2162
@arpangupta2162 5 жыл бұрын
Concept refreshed Motto successful
@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?
@SHASHANKRUSTAGII
@SHASHANKRUSTAGII 5 жыл бұрын
Bahut efforts. Love u
@pushpanjalijha2779
@pushpanjalijha2779 Жыл бұрын
Thank you for explaining
@hafsakarim768
@hafsakarim768 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
@uniqueelsa5959
@uniqueelsa5959 2 жыл бұрын
UNDERRRATEDDDDDDDDDDD
@kiran-yl9wd
@kiran-yl9wd 4 жыл бұрын
Thank you sir
@asifnoor2863
@asifnoor2863 3 жыл бұрын
Please upload one more video on hashing concept and especially for chaining
@tarunbhatia9791
@tarunbhatia9791 5 жыл бұрын
Sir plz december 2019 ka net ka paper solve li video upload kr do plz ...
@rahuldevlekar6809
@rahuldevlekar6809 3 жыл бұрын
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
@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)
@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
@happycoding5163
@happycoding5163 3 жыл бұрын
perfectly explained....
@GAU-C--RATNAKANTAHANSE
@GAU-C--RATNAKANTAHANSE 3 жыл бұрын
Thank you sir.....
@AadeshingaleOfficial-zl5fd
@AadeshingaleOfficial-zl5fd 6 ай бұрын
Nice Sir ☺️
@sundramdubey5782
@sundramdubey5782 5 жыл бұрын
nice & thanks....... 4th comment
@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
@alishachhabra7995
@alishachhabra7995 3 жыл бұрын
WOW video
@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?
@user-hf4be1ty2s
@user-hf4be1ty2s 5 ай бұрын
Sir you said linear is closed hashing in the previous video but now in this videa you are saying it in the open hashing 🤔🤔
@arjumandvillagecooking
@arjumandvillagecooking 3 жыл бұрын
really helpful
@PratimaYadav-bg3ug
@PratimaYadav-bg3ug 3 жыл бұрын
Thanku sir 🙏
@krishanudutta2943
@krishanudutta2943 3 жыл бұрын
Excellent sir
@abhishekgupta0479
@abhishekgupta0479 Ай бұрын
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
@rubabsheikh8407
@rubabsheikh8407 3 жыл бұрын
Bravo....
@crazyduniya128
@crazyduniya128 2 жыл бұрын
Captions are awesome 😂😂😂😂
@muhammadzulqurnain4153
@muhammadzulqurnain4153 3 жыл бұрын
Thanks
@DSA.In.C
@DSA.In.C Ай бұрын
Sir isme number of collision nhi aaya why
@amiqsamuel1557
@amiqsamuel1557 4 жыл бұрын
v.good tutorial
@shivanidhavi7625
@shivanidhavi7625 4 жыл бұрын
best best best😍👌
@achyutkumarsingh7308
@achyutkumarsingh7308 4 жыл бұрын
Tnk you sir
@yashvisoni5819
@yashvisoni5819 4 жыл бұрын
Sir ye video vo dbms ki playlist me nahi hai
@arshmaryam9785
@arshmaryam9785 3 жыл бұрын
Please elaborate this topic Load factor Please explain
@mohammadhamzatariq779
@mohammadhamzatariq779 7 ай бұрын
Sir kash ye dekh liya hota 😢😢
@anweshadas7699
@anweshadas7699 3 жыл бұрын
Plz explain dobule hashing
@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 Жыл бұрын
DSA
@lisasamaddar4160
@lisasamaddar4160 Жыл бұрын
Data structure
@siddiquiadnan92
@siddiquiadnan92 4 жыл бұрын
What is time complexity for hash
@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
@kholavirk2158
@kholavirk2158 Жыл бұрын
If size are given but mod are not given what we do
@swatiraj5462
@swatiraj5462 5 жыл бұрын
what if the length is not provided?
@ParthPaTeL-wm3kt
@ParthPaTeL-wm3kt 8 ай бұрын
Wrong Explanation, Probe value = number of collision, not as your explanation.
@naveenrawat1549
@naveenrawat1549 3 ай бұрын
Brother then it's the same because you don't want to check if it is not colliding at that spot
@saleemhafiz19
@saleemhafiz19 8 ай бұрын
Plz anybody confirm. Is the max prob 9 or 8?
@DSA.In.C
@DSA.In.C Ай бұрын
Prob value ko hi collision kahte hai
@guojunhuang4092
@guojunhuang4092 4 жыл бұрын
is this video in English?
@akashbansal5501
@akashbansal5501 3 жыл бұрын
❤️❤️❤️
@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
@shahwaliweb6505
@shahwaliweb6505 Ай бұрын
Exam remaining only 24 minutes 😪
@vivekrana1657
@vivekrana1657 Жыл бұрын
Hash table length 15 hi jaye to kya hoga size of hash table
@AamirK11
@AamirK11 Жыл бұрын
0-14
@shuvshaw9594
@shuvshaw9594 4 жыл бұрын
Very helpful
@Recap_box
@Recap_box 4 ай бұрын
🪄 ✨ magic' by master
@lord_yzal
@lord_yzal Жыл бұрын
@laxmanpatil1517
@laxmanpatil1517 3 жыл бұрын
⭐⭐⭐⭐⭐
@sunitamp4723
@sunitamp4723 5 жыл бұрын
Sir ye kis subject ka question hai sir
@Aisha0512
@Aisha0512 5 жыл бұрын
Data structures
@sunilkumarsam150
@sunilkumarsam150 5 жыл бұрын
Hashing in data structure
@Aisha_Singh1
@Aisha_Singh1 8 ай бұрын
Probe value of 8 is 8
@shafiabatool8528
@shafiabatool8528 3 ай бұрын
9 mod 10= 1 not 9
@ridamazhar6879
@ridamazhar6879 3 жыл бұрын
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
@rubabsheikh8407
@rubabsheikh8407 3 жыл бұрын
Normal ap s seekh re huh... mjy normal b nae are
@sanchitasharma5435
@sanchitasharma5435 Жыл бұрын
1 mod 10 remainder toh 0 hai
@aryyann05
@aryyann05 3 ай бұрын
dil pe haath rkh ke bol ki 1%10 = 1 nhi hota
@adu21
@adu21 2 жыл бұрын
Thanks sir
L-6.6: Quadratic Probing in Hashing with example
7:41
Gate Smashers
Рет қаралды 359 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 831 М.
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 28 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
When Chess Commentators Are Stunned Into Silence
17:37
Epic Chess
Рет қаралды 2,1 М.
Hash Tables and Hash Functions
13:56
Computer Science
Рет қаралды 1,5 МЛН
5 Math Skills Every Programmer Needs
9:08
Sahil & Sarra
Рет қаралды 1 МЛН
L-6.4: Linear Probing in Hashing with example
12:40
Gate Smashers
Рет қаралды 487 М.
Hashing Technique - Simplified
17:04
Abdul Bari
Рет қаралды 754 М.
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 28 МЛН