Quiz on Hashing

Consider a hash table of size m = 10000, and the hash function h(K) = floor (m(KA mod 1)) for A = ( √(5) – 1)/2. The key 123456 is mapped to location .
How is its answer 41?

@aastha2711
(https://www.geeksforgeeks.org/ugc-net-ugc-net-cs-2016-aug-iii-question-32/)
check this for step by step application

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.