Computer Science · Data Structures
Consider a hash table of size 7 with starting index 0 and a hash function h(x) = (6x + 3) mod 4. Assuming the hash table is initially empty, what will be the content of the table when the sequence 1, 3, 8, 10, 5 is inserted using closed hashing (linear probing)? Here '_' denotes an empty location.
- 11, 3, 8, 10, 5, _, _
- 23, 8, 1, _, 10, 5,
- 3, 3, 8, 1, , 10, 5✓
- 4, 1, 3, 8, 10, 5,
Correct answer
, 3, 8, 1, , 10, 5
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures