It is an Divide and Conquer Algorithm
The input list provided to the algorithm has to be sorted
Time Complexity : O(log2n)
Space Complexity : O(1)
Rotated Sorted Array
Given array that was sorted at then rotated by n places (split at an unknown pivot) then we make use of this algorithm
Time Complexity : O(log2n)
Space Complexity : O(1)