Question d’entretien chez Bloomberg

Typical Leetcode question about data structure and algorithm,