Pergunta de entrevista da empresa Synopsys

Print all paths from root to leaf nodes