What is the time complexity of binary search?

Explanation:
Binary search works in O(log n) time.

Latest Blogs