摘要: 解题思路:采用将多叉树转化为二叉树的方法(即利用孩子兄弟的结点结构)建立二叉树,最后再先序遍历输出即可 #include <stdio.h> #include <malloc.h> #include <string.h> struct TNode { int space;//记录打印空格数 int 阅读全文
posted @ 2020-03-29 20:40 跃鱼 阅读(478) 评论(0) 推荐(1) 编辑