Question: What is the time complexity of a recursive function that divides the problem size by half at each step?
Options:
Correct Answer: O(log n)
Solution:
The time complexity is O(log n) because the problem size is halved at each recursive call.