We cannot apply binary search in unsorted array . Do We have to implement binary search in this problem?
Can we search the element using linear search with time complexity O(n)?
Searching in Array
Rahul had a
sorted array
of numbers from which he had to find a given number quickly
the arrays are already sorted
rotation does not change the order of elements(if they are in increasing order then after rotation they are now in decreasing order). Is this Concept used here?