Start learning →

What is the worst-case time complexity of binary search on n items?

AO(log n) time
BO(n log n) time
CO(n^2) time
DO(n) time
Answer & Solution
Correct answer: A. O(log n) time
Binary search achieves a worst-case time complexity of logarithmic time.
Practise this question with Quill — ICSE Class 10 →

Keep practising Arrays in Java (Single and Double Dimensional)

Browse all Arrays in Java (Single and Double Dimensional) questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Arrays in Java (Single and Double Dimensional) lesson →