← Amazon questions

Sort Millions of People by Age

Filed under Amazon

Given a dataset containing millions of records, each with an 'age' field, implement an optimal sorting algorithm. Since age typically falls within a small, fixed range (e.g., 0-150), the algorithm…

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.