Question

In the context of searching, what is the primary advantage of using hashing?

A Guaranteed O(1) worst-case search time.
B Efficient for range queries.
C Allows for very fast average-case search, insertion, and deletion.
D Preserves the order of elements.
E Requires no extra space.
Practice Next

Hey! Ask a query