Question d’entretien chez Bloomberg

Leetcode style problem - data structures related