摘要: 实现功能:建立二叉树存储结构、求二叉树的先序遍历、求二叉树的中序遍历、求二叉树的后序遍历、求二叉树的层次遍历、求根到给定结点的路径。设计要求: 数据结构: typedef struct node{ char data; //数据域 struct node *lchild , *rchild; //左 阅读全文
posted @ 2022-01-04 16:36 轻闲一号机 阅读(12) 评论(0) 推荐(0)