-
链表、栈、多项式乘法实现
代码提供顺序链表、链式链表和栈C语言实现版本,其中包括链表的初始化、插入元素、删除元素、获取元素、输出元素等操作。同时提供多项式乘法的实现代码。
- 2022-08-24 02:56:22下载
- 积分:1
-
哈夫曼树算法
根据给定的n个权值{w1,w2,……wn},构造n棵只有根结点的二叉树,令起权值为wj
在森林中选取两棵根结点权值最小的树作左右子树,构造...
哈夫曼树算法
根据给定的n个权值{w1,w2,……wn},构造n棵只有根结点的二叉树,令起权值为wj
在森林中选取两棵根结点权值最小的树作左右子树,构造一棵新的二叉树,置新二叉树根结点权值为其左右子树根结点权值之和
在森林中删除这两棵树,同时将新得到的二叉树加入森林中
重复上述两步,直到只含一棵树为止,这棵树即哈夫曼树
-Huffman tree algorithm based on a given n-weights (w1, w2, ... ... wn), construct n trees only a root node of the tree, so that from the right value of wj in the forest root node to select two the right tree for the value of the smallest subtree around, a new binary tree structure, the right to buy a new tree root node value of its subtree root node around the right value in the forest and delete these two trees, At the same time, the new binary tree obtained by adding the forest to repeat the above two steps until a tree containing only the date, that is, Huffman tree tree
- 2023-05-05 13:05:03下载
- 积分:1
-
arithmetic functions example, an algorithm, the book store all the arithmetic fu...
算法函数实例,算法1,存放了书中所有的算法函数程序以及例子中的主函数程序-arithmetic functions example, an algorithm, the book store all the arithmetic functions procedures and examples of procedures for the main function
- 2023-06-18 02:05:04下载
- 积分:1
-
需要同事们慢慢的学习
有需要的同仁载回去慢慢研究-need colleagues set back slowly study
- 2022-02-13 01:03:29下载
- 积分:1
-
VB数据库开发源代码,方便实用的数据库小软件
VB数据库开发源代码,方便实用的数据库小软件-VB source code database development, convenient and practical database small software
- 2022-03-30 14:49:19下载
- 积分:1
-
本程序实现了哈希表的基本功能,以及一些附带的附属功能,可以作为数据结构的演示程序...
本程序实现了哈希表的基本功能,以及一些附带的附属功能,可以作为数据结构的演示程序-the procedures of the hash table to achieve the basic functions, as well as some fringe subsidiary function, can be used as a data structure Demonstration Program
- 2022-01-31 08:31:44下载
- 积分:1
-
上传几个数据结构源代码,比较简单。用标准c++写的。
上传几个数据结构源代码,比较简单。用标准c++写的。-upload a few data source code structure, relatively simple. Standard c writes.
- 2022-01-30 14:19:15下载
- 积分:1
-
高等教育出版社数据结构与程序设计C++语言描述的课后答案,...
高等教育出版社数据结构与程序设计C++语言描述的课后答案,-Data Structures and Program Design in C++
- 2022-07-04 21:38:52下载
- 积分:1
-
刚刚自己做的约瑟夫算法,是用链表实现的,很简单的,检验没错误,当然,中间有些东西可以根据需要自己改动...
刚刚自己做的约瑟夫算法,是用链表实现的,很简单的,检验没错误,当然,中间有些东西可以根据需要自己改动-just doing Joseph algorithm is used to achieve the linked list, a very simple test not wrong, of course, Middle some things may need to change their own
- 2022-01-25 17:58:10下载
- 积分:1
-
该程序用Java实现了算法中的动态规划问题_漂亮打印
该程序用Java实现了算法中的动态规划问题_漂亮打印-the program using Java to achieve a dynamic algorithm planning _ pretty Print
- 2022-02-05 15:45:26下载
- 积分:1