搜索资源列表
genBST
- 通用二叉搜索树,包含的算法有:输出广度优先遍历、前序、中序、后序遍历结果,按树的形状打印树,统计总节点数,统计叶子节点数,统计右节点数,计算树的高度,删除所有叶子节点,插入节点,查找节点,删除节点,由前序遍历结果和中序遍历结果生成树,由后序遍历结果和中序遍历结果生成树,检查该树是否平衡和完全平衡。-generic binary search tree contains the algorithm are : output breadth - first traversal, the former
erchashu
- 设计目标(问题描述) 用户以二叉树前序的方式输入二叉树的所有结点,进行树的建立,并进行该二叉和树的前、中、后、层序遍历; 功能设计要求 1.要求用户可以任意多次任意输入二叉树; 2.每次使用后释放其空间; 3. 树的显示严格、准确、易懂。
BiTree分割视图版
- 将视图分割成两部分,左边为显示取,右边为数据录入区,每录入一个节点数据,立即在左边显示节点图形,能实现二叉树的插入、删除、前序遍历、中序遍历、后序遍历。-View will be divided into two parts, shown from left to right for the data entry areas, each node a data entry immediately on the left shows nodes graphics can achieve binar
trees-DLR-and-LDR
- 设二叉树结点值为大写字母,输入二叉树的前序遍历和中序遍历序列,生成此二叉树,输出该二叉树的后序遍历和按层次遍历序列。输入某结点值,在二叉树中查找该结点,若该结点存在,则输出从根到该结点的路径,否则给出不存在信息。 -Let binary tree node value of capital letters input binary tree preorder traversal and inorder traversal sequences, this binary tree is gene