← Questions

Merge sorted arrays, then sort files too large for memory

0
NvidiaCodingLast asked Sep 2026

A coding interview question asked in Nvidia's coding round, last asked Sep 2026. It tests merging, external sort and heaps.

Start by merging two sorted arrays of integers. The interviewer then scales the same task twice: first the two inputs are huge sorted files that do not fit in memory, and neither does the output; then there are N large files that must be…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Nvidia · Coding · Last asked Sep 2026Live coding, often C++-leaning; each round usually opens with 10 to 15 minutes on your past work · Assume no AI unless the interviewer offers it

What it tests

merging · external sort · heaps · distributed systems

Your code and the AI tutor open when you unlock this question.