搜索资源列表
two
- 建立一棵二叉树,并对其进行遍历(先序、中序、后序),打印输出遍历结果。 从键盘接受输入(先序),以二叉链表作为存储结构,建立二叉树(以先序来建立),并采用递归算法对其进行遍历(先序、中序、后序),将遍历结果打印输出-Create a binary tree, and traverse the results of its traversal (preorder, inorder, postorder), print output. Accept input from the keyboard (
BinaryTree
- 循环遍历二叉树,相对于递归遍历二叉树更节省系统性能 摘自visual C++一书案例-Iterate over the binary tree, compared with the recursive traversal binary tree more economical performance of the system