← Amazon questions

Find first k largest numbers from large file size

Filed under Amazon

Find the top K largest numbers from an extremely large file. Discuss strategies when RAM can fit K elements versus when it cannot fit K elements.

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.