Computer Science · Data Structures
A hash table of length 10 uses open addressing with hash function h(k) = k mod 10 and linear probing. After inserting 6 values into an empty hash table, the table is shown below: Index 2: 42 Index 3: 23 Index 4: 34 Index 5: 52 Index 6: 46 Index 7: 33 Which of the following choices gives a possible order in which the key values could have been inserted in the table?
- 142, 46, 33, 23, 34, 52
- 246, 34, 42, 23, 52, 33✓
- 334, 42, 23, 52, 33, 46
- 446, 42, 34, 52, 23, 33
Correct answer
46, 34, 42, 23, 52, 33
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