摘要: 本程序为PAT A1004 Counting Leaves答案,算法主要采用DFS算法,深度优先访问每一个结点,检查其是否为叶子结点。 阅读全文
posted @ 2019-05-21 23:16 Youngblood 阅读(146) 评论(0) 推荐(0)