Question d’entretien chez Amazon

Shortest path in the binary tree.