Question d’entretien chez Amazon

print all paths from root to leaf