搜索资源列表
树的高度和叶子结点数
- 先是建立一个树,然后对树进行转换变成二叉树,求出树的高度和叶子节点,此程序对于数据结构学习者很有帮助-First, the establishment of a tree, the tree then converted into a binary tree, the tree calculated the height and leaf nodes, the procedure for data structure learners helpful
18.二叉排序树的建立
- 本人数据结构学的还可以,所以多传了些数据结构的程序,希望大家多多支持,这个是二叉排序树的建立和查找-data structure can also learn, so most of the more-data structure of procedures in the hope that we can support, this is a binary tree in order to establish and identify
二叉树jian
- 这个程序采用先序建立二叉树,并分别使用递归和非递归算法实现了对该二叉树的先中后序的遍历输出,并给出了一定的使用说明-this procedure was used in order to establish a binary tree respectively, and the use of recursive and non - recursive algorithm of this binary tree after the first sequence which Ergodic outp
BTREE2006
- 一个非递归建立二差树的算法!输入先序带结束符号的序列建立二叉树!原创-establish two poor tree algorithm! First imported symbols sequence ended with the establishment of the sequence binary tree! Originality
fuTree
- 一个比较全的关于二叉树的操作的程序,包括树的建立,遍历,求深度,节点计算和销毁。-a more complete binary tree on the operating procedures, including the establishment of the tree, traverse, seeking depth Node calculation and destruction.
treebuilder
- 此文件主要说明了二叉树的建立建立过程,用户看后可提出意见!-this document mainly to explain the establishment of a binary tree building process, users can read comments!
erchashu
- 建立二叉树,统计二叉树中度为2的结点个数和叶子结点个数( 用递归或非递归的方法都可以,先序、中序或后序均可)-establish binary tree, Statistics for the two binary tree to moderate the number of nodes and the number of nodes leaves (with the recursive and non - recursive method can be first order, After t
datastructure
- 建立二叉树的链式存储结构,在此基础上完成下列算法: 1) 从键盘上输入二叉树的各个结点,建立二叉链表 2) 输出该二叉树; 3) 非递归的层次遍历序; 4) 非递归的先序遍历、中序遍历、后序遍历;
erchashu
- 设计目标(问题描述) 用户以二叉树前序的方式输入二叉树的所有结点,进行树的建立,并进行该二叉和树的前、中、后、层序遍历; 功能设计要求 1.要求用户可以任意多次任意输入二叉树; 2.每次使用后释放其空间; 3. 树的显示严格、准确、易懂。
course
- 一、 问题描述与分析: (1) 根据用户选择提供相应的功能 (2) 运动会分数统计。 (3) 能够按照指数降序排列建立并输出多项式;能够完成两个多项式的相加、相减 (4) 可以输入一个任意大小的迷宫数据,用非递归的方法求出一条走出迷宫的路径,并将路径输出。 (5) 猴子选大王。 (6) 建立建立最优二叉树函数 (7) 纸牌游戏
erchashu
- 演示遍历二叉树的过程,所以首先建立二叉树,并用图形显示出树的形状。建立的过程是采用前序便利的方法来创建,设计两种生成树的方式:一种是系统随机生成,另一种是人工输入。考虑到屏幕界面的有限性,限定二叉树不超过5层,最多26个字符,输入字符小数点“.”代表NULL。初始树为某种颜色的结点,三种情况的遍历采用填充另外一种醒目的颜色,来表示当前遍历的结点,同时显示该结点的访问序号。同时在遍历的过程中在遍历图形的下方显示出遍历序列。
建立二叉树
- 同济大学课程设计中的一道题! 要求能够输入树的各个结点,并能够输出用不同方法遍历的遍历序列;分别建立建立二叉树存储结构的的输入函数、输出层序遍历序列的函数、输出先序遍历序列的函数.-Tongji University in curriculum design, the one that! Tree request to enter the various nodes, and can output using different methods traverse the traversal se
遍历二叉树的3个递归算法
- 此程序给出了遍历二叉树的三个递归算法,并且利用了先序扩展序列建立二叉树,对于数据结构学习者有很大帮助-this procedure is a traversal of a binary tree three recursive algorithm, and use the first sequence extended sequence to establish a binary tree, the data structure for a great help learners
Binary-Sort-Tree
- 建立一个二叉排序树,要求完成树上结点的查找和删除,基于MFC图形界面-Create a binary sort tree, the tree nodes required to complete the search and delete MFC-based GUI
applxcbtion-escape-marshal
- 按先序扩展序列建立二叉树,先序,中序,后序遍历的递归算法,不错-According to the first sequence extension set up binary tree, first order, in sequence, after the sequence traversal recursive algorithm, good
tet
- 按先序扩展序列建立二叉树,先序,中序,后序遍历的递归算法,不错(According to the first sequence extension set up binary tree, first order, in sequence, after the sequence traversal recursive algorithm, good)
lxhxgb
- 按先序扩展序列建立二叉树,先序,中序,后序遍历的递归算法,不错(According to the first sequence extension set up binary tree, first order, in sequence, after the sequence traversal recursive algorithm, good)