Fade to Solo
Binary Search

Find Minimum in Rotated Sorted Array

30 MINMleetcode ↗

Problem

A sorted array with all-distinct values has been rotated an unknown number of times (e.g. [3,4,5,1,2]). Find the minimum element, in better than linear time.

30 MIN00:00unlocks in 30:00
locked30:00 left