← Walmart questions

Find the 5th largest number among two million numbers

Filed under Walmart

Find the 5th largest number in a stream or collection of two million numbers. Discuss the trade-offs between sorting, max-heaps, and min-heaps.

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

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