资源列表
arrayoperation
- 数组运算示例,演示二维数组的存储方式(不同于其它语言)以及数组的运算和输出方法。-example of array operations. Demostration of storage (unlike other languages) , operation and output method of two dimensional array.
Family-relationship-inquiry-system
- 数据结构课程设计家族关系查询系统C源程序文件-family relationship inquiry system.c
121340215123421345
- 2.1栈的实现及应用 (1)采用链式存储实现栈的初始化、入栈、出栈操作。 (2)采用顺序存储实现栈的初始化、入栈、出栈操作。 (3)设表达式以字符形式已存入数组E[n]中,‘#’为表达式的结束符,试写出判断表达式中括号‘(’、‘)’、‘[’、‘]’是否配对的C语言描述算法。 (4)在主函数中设计一个简单的菜单,分别测试上述算法。 2.2 队列的实现 (1)采用链式存储实现队列的初始化、入队、出队操作。 (2)采用顺序存储实现循环队列的初始
ShortestPath
- 数据结构,基于图的邻接表表示,实现图的最短路径算法和最小生成树算法-Data structures, graph-based adjoining table, graph shortest path algorithm and the minimum spanning tree algorithm
Huffman
- Huffman树的应用,可对从文件中读入文章,对文章字母进行Huffman排列并输出,实现其功能。-Huffman tree applications can read articles from a file of articles and letters arranged Huffman outputs to achieve its function.
Arithmetic-expression-evaluation
- 算术表达式求值,可对算术表达式求值过程进行演示,并计算出结果。-Arithmetic expression, arithmetic expression evaluation can demonstrate the process and calculate the results.
FUJIAN3
- (1)输入字符序列,建立二叉链表。 (2)遍历二叉树输出。 (3)请设计一个算法,要求该算法把二叉树的叶子结点按从左到右的顺序连成一个单链表,表头指针为head。 二叉树按二叉链表方式存储,链接时用叶子结点的右指针域来存放单链表指针。请遍历该链表输出所有叶子结点,然后再先序遍历二叉树输出所有叶子结点,并对比两个输出结果,看是否相同。 (4)试写一算法判断某二叉树是否是完全二叉树。 (5)试写一算法判断某二叉树是否是二叉排序树。 (6)在主函数中设计一个简单的菜单,分别调试上
tree
- 此代码实现的是树的简单的遍历,简单易懂。-This code is a simple traversal of the tree, easy to understand.
mouna_liste
- Les listes chaî nées sont des structures de données semblables aux tableaux sauf que l accès à un élément ne se fait pas par index mais à l aide d un pointeur. L allocation de la mémoire est faite au moment de l exécution.
SZ
- 计算出将n堆石子合并成一堆的最小得分和最大得分。-Calculate the n pile of stones piled into the minimum score and maximum score.
shunxubiao-and-lianbiao
- (1).对于顺序存储的线性表,请实现以下功能: 1)实现二路归并排序算法。 2)实现快速排序算法。 3)实现堆排序算法。 4)实现冒泡排序和选择排序算法 (2).已知长度为n的线性表A采用顺序存储结构,请写一时间复杂度为0(n)、空间复杂度为0(1)的算法,该算法删除线性表中所有值为item的数据元素。要求:线性表元素个数n很大,而值为item的数据元素个数很少,要求移动元素个数尽量少;删除后的数组元素与原数组元素不必保持顺序一致。 (3).编写一个主函数,调试
c++异质链表
- 此文件为c++异质链表,有插入删除,新建等操作,以及充分的注释