Ch 8.2 :Hashing | Hash functions | Open addressing | Linear probing with Example.

preview_player
Показать описание
In this lecture i discussed
0:13 Hash functions
0:51 The division method
1:58 The multiplication method
3:48 Open addressing/Closed hashing
10:05 Linear probing
12:27 ISRO2016-29
A Hash Function f defined as f(key)=key mod 7. With linear probing while inserting the keys 37,38,72,48,98,11,56 into a table indexed from 0, in which location key 11 will be stored?
A.3 B.4 C.5 D.6
Ans :C.5

----------------------------------------------------
----------------------------------------------------------
----------------------------------------------------------------
----------------------------------------------------------------
----------------------------------------------------------------------
-------------------------------------------------------------------
-----------------------------------------------------------------------
#gate2023 #gate #hashing #algorithm
Рекомендации по теме
join shbcf.ru