Question d’entretien chez TradingHub

leetcode question relating to tree search.