Pregunta de entrevista de Synopsys

Print all paths from root to leaf nodes