Question d’entretien chez Google

Trees and dynamic programming. It was leetcode medium