Question: What is the time complexity of binary search in the worst case scenario?
Options:
Correct Answer: O(log n)
Solution:
In the worst case, binary search will continue to halve the search space until it finds the target or concludes it is not present, resulting in O(log n) time complexity.