Hash table of size 10, h(k) = k mod 10, linear probing. Keys 12, 22, 32 are inserted in order. Where is 32 stored?
Show answerHide answer
Correct answer: (A) Index 4
Explanation
12 → 2; 22 → 3 (2 full); 32 → 4 (2 and 3 full).
Correct answer: (A) Index 4
Explanation
12 → 2; 22 → 3 (2 full); 32 → 4 (2 and 3 full).
This is question 149 of DSSSB TGT Computer Science Full Mock Test 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.