← Questions

Sort a hundred million digits

0
ModalCodingLast asked Jul 2026

A coding interview question asked in Modal's technical phone screen, last asked Jul 2026. It tests sorting, counting sort and performance.

You need to sort one hundred million single digits, each 0 to 9. How do you do it fast, and how long will it take?

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

  • Modal · Technical phone screen · Last asked Jul 2026

What it tests

sorting · counting sort · performance

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