Domanda di colloquio di Practice by Numbers

Puzzle question and some system design concepts