Question d’entretien chez Clear Street

Leetcode style problem, medium to hard difficulty