搜索资源列表
Preorder-binary-tree-(tree-print
- 先序二叉树(树状打印) 将二叉树以先序输出,并且图状打印-Preorder binary tree (tree print) binary tree output and print maps for preorder
Tree-traversal
- MFC实现树的建立,可自动得到输入树的深度,先序、中序、后序遍历的结果,并用图形显示该树。-MFC to achieve the establishment of the tree can be automatically input the depth of the tree, preorder, inorder, postorder traversal, and graphical display of the tree.
Search
- 是一个二叉树三种遍历——前序遍历,中序遍历,后续遍历的基本实现-Is a binary tree three kinds of traversal- preorder, preorder, the basic realization of subsequent traversal
Tree-traversal
- 树的先序遍历、中序遍历、后序遍历,简单实现。-Tree preorder, preorder, postorder, simple implementation.
paixushu
- 实现由先序遍历序列和中序遍历序列以及由后序遍历序列和中序遍历序列构造一棵二叉树的功能-Achieved by the preorder traversal sequence and the sequence and the sequence and the sequence of the preorder traversal of a binary tree structure function sequence
TreeScan
- ⑴输入字符序列,建立二叉链表。 ⑵中序遍历二叉树:递归算法。 ⑶中序遍历二叉树:非递归算法。(最好也能实现先序,后序非递归算法) ⑷求二叉树的高度 。-⑴ input character sequence, build binary list. ⑵ preorder binary tree: the recursive algorithm. ⑶ preorder binary: non-recursive algorithms. (Preferably the first
tree
- 输入字符序列,建立二叉链表。 前序、中序、后序遍历二叉树:递归算法。 前序、中序、后序遍历二叉树:非递归算法。 求二叉树的高度 。-Enter the character sequence, build binary list. Preorder, inorder, preorder after binary: recursive algorithm. Preorder, inorder, preorder after binary: non-recursive algor
war
- 某年某月,A军与B军之间发生了一次战争。为了不让A军轻易的找到自己的总部,B军布下了一个二叉树型的阵形,这样既可以相互沟通,也可以很好的隐藏总部的位置。共有n个节点,每个节点用一个数字标号,总部就在其中的某个节点处。知道在前序遍历中B军总部排在标号串的第m位。 A军找到学过数据结构的你,请你根据已知的中序遍历和后序遍历得到B军的前序遍历,并得出B军总部究竟在标号为多少的节点上。 -A certain period, A B between army troops and a war br