摘要: 以下为二叉树的各种遍历的C语言实现程序,包括先序、中序、后序遍历(递归和非递归实现)和层次遍历。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 typedef struct BiTNode 9 { 10 char data; 11 ... 阅读全文
posted @ 2016-01-04 11:11 Xbert 阅读(237) 评论(0) 推荐(0) 编辑