Question d’entretien chez Bloomberg

2 Leetcode medium difficulty within 1 hour