Skip to main content
Find Minimum in Rotated Sorted Array | AlgoCracked
AlgoCracked
ProblemsFind Minimum in Rotated Sorted Array
Medium49.0% acceptance
Blind75ArrayBinary Search

Find Minimum in Rotated Sorted Array

An ascending array of distinct integers nums has been rotated at some unknown pivot. Return the minimum element of the array in O(log n) time. Input format Input is a single array, e.g. [[3,4,5,1,2]] .

Loading workspace…