← Amazon questions
CodingReported in a candidate post, Mar 2021

Search in a rotated sorted array

Filed under Amazon · Also reported at Adobe, Intuit, McKinsey, Microsoft, MIQ Digital, Qualcomm, Snapdeal, Walmart and 1 more

An integer array of distinct values was sorted in ascending order and then rotated at an unknown pivot (for example [0,1,2,4,5,6,7] becomes [4,5,6,7,0,1,2]). Given the rotated array nums and an…

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 Amazon questions

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