Question d’entretien chez Jane Street

It was a Design style leetcode question.