Binary Search on a Circular Array
When adapting a binary search algorithm for a circular array, which modification is most appropriate?
A
Use recursion instead of iteration for all circular arrays
B
Convert the circular array to a linear array first
C
Adjust the midpoint calculation to account for array wrapping
D
Replace binary search with linear search for circular arrays
Question Leaderboard
Not enough data yet to show leaderboard.
