You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hint 1
Do a binary search over the array, exclude the half of the array that doesn't contain the largest number.
Hint 2
Keep shrinking the search space till it reaches the size of 2 where you can easily determine which one has the largest integer.