Sail E0 Webinar
Question
What is the search complexity in direct addressing?
Options:
A .  O(n)
B .  O(logn)
C .  O(nlogn)
D .  O(1)
Answer: Option D


Since every key has a unique array position, searching takes a constant time.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers