-
java程序实现的通俗易懂的二分查找的算法源代码
java程序实现的通俗易懂的二分查找的算法源代码-java program to achieve the user-friendly dichotomous search algorithm source code
- 2022-02-04 20:18:19下载
- 积分:1
-
拓扑排序c版(数据结构)1.邻接表的实现 2.无环情况
拓扑排序c版(数据结构)1.邻接表的实现 2.无环情况-topological sorting c version (data structures) 1. The adjacent table to achieve two. No part of
- 2022-10-01 01:45:03下载
- 积分: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
-
sentinel examples of the data structure
数据结构的sentinel示例
- 2022-06-19 21:10:35下载
- 积分:1
-
对二叉树进行插入,打印屏幕等操作
对二叉树进行插入,打印屏幕等操作。使用动态结构实现,可以学习。代码简洁明了,便与学习。有注释。插入元素,采用递归实现。在t节点插入元素x;深度是temp;num表示若是在满二叉树情况下的编号,用于计算坐标;计算深度是x,满二叉树编号是y点的坐标。
- 2023-08-12 22:50:03下载
- 积分:1
-
在9(3*3)个方格的方阵中填入数字1到N(N>=10)内的某9个数字 每个方格填一个整数,要求相邻两个方格的两个整数之和为质数。 试求所有的解...
在9(3*3)个方格的方阵中填入数字1到N(N>=10)内的某9个数字 每个方格填一个整数,要求相邻两个方格的两个整数之和为质数。 试求所有的解-in 9 (3* 3) grid matrix to fill out a number of N (Ngt; = 10) of a nine figures each box filled an integral require two adjacent box at the two integral to the quality and number. Examination for all solutions
- 2022-10-06 18:45:03下载
- 积分:1
-
用VB语言实现偏微分方程的解法
包括解边值问题的松弛法、交替方向隐式方法等...
用VB语言实现偏微分方程的解法
包括解边值问题的松弛法、交替方向隐式方法等-VB language PDE solution of the boundary value problems including Xie relaxation method, alternating direction implicit methods
- 2023-06-23 05:25:03下载
- 积分:1
-
生产者与消费者演示
生产者与消费者演示-producers and consumers demo
- 2022-06-15 17:22:25下载
- 积分:1
-
项目的排序表
在 m 表示的资源数 sj ; t代表机 Mj 的速度在时间间隔 [t; t + 1)。我们可以万无一失地想当然不失一般性,处理器速度的变化不在规格内 ed 间隔
- 2023-03-04 23:10:04下载
- 积分:1
-
在PHP项目管理软件
应用背景PHP项目管理是在GPL下发布了一个免费的开源应用要求PHP 4 +MySQL 4 +Apache或者IIS关键技术安装解压所有文件/文件夹。编辑connect.php并输入数据库信息。复制所有文件/文件夹到您的网站空间。运行create.php创建数据库称为“phptask”和创建的所有数据库表。重命名或删除文件create.php在成功安装。管理员用户的名字是“user123”,与“一”的口令。
- 2023-08-05 02:45:03下载
- 积分:1