搜索资源列表
table_triples
- 数据结构-三元组表编程实现,具有广义性,数据类型可多样化-Data structure- the table triples Programming
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 b
Generalized-list
- 选择合适的存储结构表示广义表 (1)用大写字母表示广义表,用小写字母表示原子,并提供设置广义表的值的功能。 (2)取广义表L的表头和表尾的函数head(L)和tail(L)。 (3)能用这两个函数的复合形式求出广义表中的指定元素。 (4)由广义表的字符串形式到广义表的转换函数Str.To-Lists(S):Lists,例如Str.To-Lists(’(a,(a,b),c)’)的值为一个广义表。 (5)由广义表到广义表
_DataStructure_C_Impl
- 线性表、栈、队列、串、数组、广义表、树、图、查找及排序-datastructure implements by c seqlist,stack,queue,string,array,tree,search,sort and so on.
BitTree
- 根据广义表建立二叉树,输入指令插入或删除,再将二叉树以广义表形式输出-Establishment of binary tree based on generalized table, enter the command to insert or delete, and then generalized table form binary output
Chapter5
- c++串、数组和广义表的类模板,以及对稀疏矩阵的三元组表示和十字链表表示-c++ strings, arrays, and class template generalized form, as well as sparse matrix representation and triples list represents a cross
BTreeNode
- 自己实现的一个从文件读取数据权重 并且以广义表输出的哈夫曼C语言实现-A realization of their own weight data read the file and C language Huffman table output to achieve broad
guangyibiao
- 数据结构 广义表 c++的实现 可运行已实现基本功能的c++实现-data structure c++
Generalized-list
- C语言编程与数据结构设计 判断两个广义表是否相同 -Generalized list
shu
- 创建二叉树:广义表式创建和先序创建; 2) 遍历二叉树:先,中,后,层序遍历,广义表式遍历,凹凸式遍历; 3) 二叉树属性:深度,宽度,结点数,叶子结点数 4) 二叉树路径:叶子结点到根结点的路径; 5)二叉树线索:中序线索二叉树; 6)二叉树置空:清空二叉树。 -reate a binary tree: generalized table type creation and first or
tree
- C语言二叉树三种遍历算法及其广义表表示 VS2012编写 基于先序遍历的构造算法:输入是二叉树的先序序列,但必须在其中加入虚结点以示空指针的位置。假设虚结点输入时用’.’字符表示。 分别利用先序遍历、中序遍历、后序遍历所建二叉树-Three kinds of C language binary tree traversal algorithm and generalized table said visual programming b
basic-operation-of-guangyibiao
- 对广义表实现下列 4 种基本运算:(1)创建广义表;(2)遍历广义表;(3)求广义 表的深度;(4)求广义表的长度。-The following 4 basic operations of the generalized table: (1) create a generalized table (2) the ergodic generalized table (3) the depth (4) the length.
Studymeterialsfordatastructure
- 数据结构课件([数据结构(C语言版)].严蔚敏.吴伟民.课件.第04章-串,第05章-数组和广义表,第06章-树和二叉树,第07章-图,第08章-动态存储管理,第09章-查找)-Study meterials for data structure (C language version). Weimin Yan&Weimin Wu . Including: Chapter 04- strings Chapter 05- a
shuzuheguangyibiao
- 数组:存储结构 系数矩阵:表示 广义表:定义,存储结构,运算,深度-系数矩阵:表示 广义表:定义,存储结构,运算,深度 检测到:中文 » 英语 Array: storage structure Matrix: said Generalized table: definition, storage structure, operation, depth
BinaryTree
- 编程实现二叉树的存储结构与基本算法,主要包括以下功能: 创建二叉树B的二叉链 二叉树B:A(B(D,E(H(J,K(L,M(,N))))),C(F,G(,I))) 通过对二叉树B的操作,输出二叉树B的广义表(字符串)表达式 通过对二叉树B的操作,输出H结点的左孩子与右孩子 通过对二叉树B的操作,出二
tree
- 广义表构造二叉树,静态方法,java实现。采用栈的非递归-Generalized table structure binary tree, static method, java achieve. Use non-recursive stack
Simple-binary-tree-algorithm
- 简单的二叉树输出广义表表示二叉树二叉树二叉树-Simple binary tree algorithm
cnmb
- 在本实验中,程序的输入是一个表示树结构的广义表。假设树的根为 root ,其子树森林 F = ( T1 , T2 , ... , Tn ),设与该树对应的广义表为 L ,则 L =(原子,子表 1 ,子表 2 , ... ,子表 n ),其中原子对应 root ,子表 i ( 1<i< n )对应 Ti 。例如:广义表 (a,(b,(c),(d)),(f,(g),(h ),(i))) 表示的树如图所示:
最后
- 第一题:将一颗树或森林转换为二叉树 第二题:求森林高度 第三题:按层次方式遍历森林 第四题:输出一个森林中每个结点的值及对应的层次数 第五题:输出一个森林的广义表形式(First question: convert a tree or forest into two branches Second question: forest height The third question: traverse the forest
Binary Tree
- 1. 编写建立二叉树的二叉链表存储结构,并用广义表的形式显示; 2. 在二叉树的二叉链表存储基础上,实现二叉树的先序线索链表结构,并显示和存储二叉树的相应的线索链表; 3. 在二叉树的先序线索链表存储结构上,实现求任一个结点的先序的后继和前驱结点的算法; 4. 实现对先序线索二叉树的先序遍历的非递归算法,显示相应的遍历序列。(The establishment of preemptive clue binary tree and