← Morgan Stanley questions

Sort a very big text file with limited memory

Filed under Morgan Stanley

Describe an efficient algorithm to sort a text file that is significantly larger than the available RAM.

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 Morgan Stanley questions

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