EasyRememberSorting & SearchingMultiple Choice

What is the time complexity of binary search on a sorted array of n elements?

Remember Tests recall of fundamental facts and definitions.

Answer Options

AO(1)
BO(log n)
CO(n)
DO(n log n)

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 31+ more Sorting & Searching questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Sorting & Searching topic (Algorithms).

More Sorting & Searching Questions