搜索资源列表
singerlist
- 一个二叉树的遍历,输出前序遍历,中序遍历,后序遍历-a binary tree traversal, output preorder, preorder, after preorder
实验三
- 1.程序的功能:遍历一个二叉树并输出。 2.输入输出的要求:输入可以是单个数字,也可以是单个字符,以0结束。二叉树的遍历方式可以是前序,中序,后序,程序中用switch函数进行开关选择-1. The functionality : a binary tree traversal and output. 2. The input and output : input can be a single figure, it could be a single character to the end
binarytreedepth
- 求二叉树的深度、前中后序遍历的非递归算法-Seeking depth of binary tree, before, during and after traversing a non-recursive algorithm
binary-tree
- 建立了一个二叉树,写出二叉树的结点,然后用前序历遍、中序历遍、后序历遍来访问了整棵二叉树。-A binary tree, write a binary tree node, and then use the pre-order the calendar over the calendar times in sequence, after the sequence to access the calendar over the whole grain binary tree.
binaryTree
- 基于Visual C++的一个二叉树的程序,能实现从文件输入和数组两种方法建立二叉树,实现二叉树的前,中,后序遍历,广义表形式的输出,结点个数的统计,结点度的计算,树的高度计算,最大值的计算。-he establishment of the two fork tree the file input and an array of two methods, the realization of the two binary tree before, after the traversal, th
erchashu
- 设二叉树结点值为大写字母,输入二叉树的前序遍历和中序遍历序列,生成此二叉树,输出该二叉树的后序遍历和按层次遍历序列。输入某结点值,在二叉树中查找该结点,若该结点存在,则输出从根到该结点的路径,否则给出不存在信息。 -Binary tree node is set in capital letters, enter the pre-order traversal of a binary tree traversal sequence and generates this binary tree