โ† Goldman Sachs questions

Find smallest element in sorted rotated array

Filed under Goldman Sachs

A sorted array of distinct integers is rotated an unknown number of times. Find the minimum element in this array in O(log n) time.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.