โ† Amazon questions

Find median of array without sorting

Filed under Amazon

Find the median of an array of numbers in O(N) average time without modifying the original array's sorted order (or without sorting the entire array upfront).

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.