Question DSA-HASH-0013
MediumWhat is the worst-case time complexity of a hash table lookup?
- A.
O(log n)
- B.
O(n²)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Hashing question
What is the worst-case time complexity of a hash table lookup?
O(log n)
O(n²)
Sign up free to see the answer and a step-by-step explanation.
O(1)
O(n)