-
几种数据结构算法的C程序实现
几种数据结构算法的C程序实现-several data structure algorithm C Programming
- 2022-01-26 04:48:58下载
- 积分:1
-
VB6.0下DataGrid控件的使用示例!
VB6.0下DataGrid控件的使用示例!-VB6.0 under the DataGrid control the use of examples!
- 2022-01-25 23:41:31下载
- 积分:1
-
哈夫曼树和哈夫曼编码:
从终端输入若干个字符及其对应的整数,将整数作为结点的权值,建立哈夫曼树,然后对各字符进行哈夫曼编码。最后打印哈夫曼树和对应的哈夫曼编...
哈夫曼树和哈夫曼编码:
从终端输入若干个字符及其对应的整数,将整数作为结点的权值,建立哈夫曼树,然后对各字符进行哈夫曼编码。最后打印哈夫曼树和对应的哈夫曼编码。
设计要求:
⑴ 哈夫曼殊和哈夫曼编码的存储表示参考教材事例
⑵ 在程序中构造四个子程序为
① int createhtree(HTree *t) /*根据输入的字符及其权值建立哈夫曼树*/
② void coding(HTree *t, char *code) /*对哈夫曼树进行编码*/
③ void printhtree(HTree *t, int* path) /*中序打印树*/
④ void printcode(HTree *t) /*输出个字符的哈夫曼编码*/
-Huffman tree and the Huffman coding: input from the terminal a number of characters and their corresponding integer, will be an integer as node weights, the establishment of Huffman tree, and then on the characters Huffman. Finally print Huffman tree and the corresponding Huffman. Design requirements: ⑴ Huffman and Huffman coding is that the reference materials storage ⑵ examples constructed in the procedure for the four subroutines ① int createhtree (HTree* t)/* input characters in accordance with its right value the establishment of Huffman tree*/② void coding (HTree* t, char* code)/* Huffman tree to encode*/③ void printhtree (HTree* t, int* path)/* Pri
- 2022-01-22 06:46:42下载
- 积分:1
-
Skiplist 实现
Skiplist 跳表 c++ 实现, 包含vs工程文件, Skiplist.h 代码文件 和 TestMain.cpp 测试文件,主要应用实现有序集,效率接近树,但实现简单, redis内部也有skiplist的实现
- 2022-03-07 07:39:40下载
- 积分:1
-
堆排序:思想: 用二叉树的结构来表示数组,及用数组来表示二叉树的结构,比如i为父节点其孩子为,2i,和2i+1.其中,大顶堆中 父节点大于其两个孩子
算法平...
堆排序:思想: 用二叉树的结构来表示数组,及用数组来表示二叉树的结构,比如i为父节点其孩子为,2i,和2i+1.其中,大顶堆中 父节点大于其两个孩子
算法平均时间复杂度: O(nlogn)
-HEAPSORT: thinking: using binary tree structure to express the array, and used to express an array of binary tree structure, such as i the parent node for its children, 2i, and 2i+ 1. Among them, the big top of a pile of the parent node greater than two children on average time complexity of algorithm: O (nlogn)
- 2022-07-11 06:36:53下载
- 积分:1
-
文件分类和统计的话,TF / IDF等
documents classification and words statiscs TF/IDF etc
- 2022-11-27 11:45:03下载
- 积分:1
-
本书讲解了常见而且实用的组合数学算法 可以作为算法分析和设计的补充读物 非常不错的一本书!!!!!!!!!!!!!!!!!1...
本书讲解了常见而且实用的组合数学算法 可以作为算法分析和设计的补充读物 非常不错的一本书!!!!!!!!!!!!!!!!!1-book on the common and practical portfolio mathematical algorithms can be used as algorithm analysis and design of supplementary reading materials is a good one book
- 2022-05-08 10:43:59下载
- 积分:1
-
一个用VC开发得公交车线路查询系统!
一个用VC开发得公交车线路查询系统!-a VC development in the bus line query system!
- 2022-06-30 13:19:08下载
- 积分:1
-
数据结构课程设计,求无向网最短路径,利用c++6.0编程环境
数据结构课程设计,求无向网最短路径,利用c++6.0编程环境-data structure curriculum design, without seeking the shortest path to the net, using c 6.0 programming environment
- 2022-03-21 10:39:41下载
- 积分:1
-
用于餐厅管理以及各种人事,营业流水查询及历史查询
用于餐厅管理以及各种人事,营业流水查询及历史查询-For Restaurant Management and a variety of personnel, business inquiries and the history of water inquiry
- 2022-04-26 11:17:43下载
- 积分:1