Single Choice Easy

QWhat is the time complexity of the hash table (average case) for searching an element?

ID: #21502 Time Complexity 107 views
Question Info
#21502Q ID
EasyDifficulty
Time ComplexityTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A O(1)
  • B O(log N)
  • C O(N)
  • D O(N log N)
Correct Answer

Explanation

In the average case, a hash table provides constant-time complexity O(1) for searching an element.

Share This Question

Challenge a friend or share with your study group.