Q. Which of the following scenarios leads to linear running time for a random search hit in a linear-probing hash table?

  • (A) all keys hash to same index
  • (B) all keys hash to different indices
  • (C) all keys hash to an even-numbered index
  • (D) all keys hash to different even-numbered indices
πŸ’¬ Discuss
βœ… Correct Answer: (A) all keys hash to same index

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
961
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate