Start learning →

Searching N items with no index takes how many operations on average?

AO(N squared) time
BO(1) constant time
CO(log N) time
DO(N) linear time
Answer & Solution
Correct answer: D. O(N) linear time
Without an index every item may have to be examined, so the average cost grows in direct proportion to N.
Practise this question with Quill — SSC CGL →

Keep practising Indexing, Address Matching, Date and City Matching

Browse all Indexing, Address Matching, Date and City Matching questions for SSC CGL, or explore more Reasoning topics.

Start a Indexing, Address Matching, Date and City Matching lesson →
Related questions