You are given a massive 1 TB file containing integers. Find the N smallest numbers in the file. Assume N is small enough to fit in memory (e.g., N = 10^6), but the total count of numbers in the file…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.