-
基本的冒泡算法,可供数据结构的初学者参考,希望能有所帮助。...
基本的冒泡算法,可供数据结构的初学者参考,希望能有所帮助。-sort
- 2022-01-28 03:11:24下载
- 积分:1
-
Joseph A solution, the main use of the array to resolve the symbol C++ Source co...
约瑟夫问题的一个解法,主要利用数组来解决,代码为C++源代码。-Joseph A solution, the main use of the array to resolve the symbol C++ Source code.
- 2022-06-21 12:17:25下载
- 积分:1
-
北大OJ 1417题的标程代码,并查集和深度优先搜索的经典实现
北大OJ 1417题的标程代码,并查集和深度优先搜索的经典实现-OJ 1417 North title scalar-way code and search sets and the classic depth-first search to achieve
- 2022-07-23 15:29:46下载
- 积分:1
-
餐厅点菜系统,软件工程实习的例子,对理解软件工程的流程很有帮助...
餐厅点菜系统,软件工程实习的例子,对理解软件工程的流程很有帮助-Restaurant a la carte system, examples of software engineering practice of software engineering to understand the process very helpful
- 2023-03-02 10:20:04下载
- 积分:1
-
hope that we can enlighten a lot to me this is part of our classmates system
希望大家能多多指教这是我给我们同学编的系统-hope that we can enlighten a lot to me this is part of our classmates system
- 2023-01-13 04:55:05下载
- 积分: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
-
数据结构设计单链表代码
基于c++的代码,通过单链表实现求和、求积。编写一个程序用单链表存储多项式,按指数从大到小排序多项式,并实现两个多项式的相加和相减
- 2023-08-10 10:55:03下载
- 积分:1
-
利用栈的基本运算返回指定栈中栈底元素
编写一个算法,利用栈的基本运算返回指定栈中栈底元素
- 2022-08-23 13:18:26下载
- 积分:1
-
二叉树_先中后根显示_结点信息查询_相似度比较等_附注释
二叉树的一些基本实现:具备功能:创建、删除二叉树(包括文件读取录入信息),先中后根显示二叉树(递归算法),结点信息查询(包括:结点所在层数,结点孩子个数,结点在先中后根排序中的位置、寻到结点路径长度),二叉树相似度比较;附带注释,界面友好,代码是在VC6.0下写的。
- 2022-07-10 18:06:05下载
- 积分:1
-
学生成绩管理系统
学生成绩管理系统,实现以下功能,管理员可以增加删除学生,老师可以增删改学生的成绩,学生自己查询自己的成绩,学生可以修改自己的部分信息。
- 2022-08-08 12:47:12下载
- 积分:1