Question: What is the time complexity of binary search?
Options:
Correct Answer: O(log n)
Solution:
The time complexity of binary search is O(log n) because it divides the search interval in half with each step.