← Amazon questions

Find 1 million largest integers from 1 billion integers

Filed under Amazon

Given a massive stream or list of 1 billion integers with possible duplicates and a strict memory limit holding only 1 million numbers, find the 1 million largest integers efficiently.

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.