Pergunta de entrevista da empresa Huawei Technologies

2. Print each path from root to leaf in tree