资源列表

« 1 2 ... .93 .94 .95 .96 .97 2098.99 .00 .01 .02 .03 ... 2656 »

[数据结构常用算法Huffman

说明:1、根据输入构造一棵哈夫曼树,要求该哈夫曼树的左子树小于等于右子树; 2、根据构造的哈夫曼树给出对应的编码;左子树的编码为0,右子树的编码为1; 3、输出各个字符对应的编码与平均编码长度; 4、根据输入的编码,结合构造的哈夫曼树给出对应的译码; 5、对带有不同权值的字符进行编码;使用自己实现的编码表对输入的‘0’‘1’代码进行译码。 -Less than or equal to 1, according to the
<Tracy> 在 2024-09-28 上传 | 大小:3739648 | 下载:0

[数据结构常用算法Graph

说明:1、创建一个无向图,采用邻接矩阵存储,顶点采用单个字符表示,边采用邻接矩阵表示; 2、输出该图的存储示意图; 3、对该图进行深度优先遍历和广度优先遍历并输出遍历的结果。 -1, create an undirected graph adjacency matrix storage vertex edges using adjacency matrix representation with a single characte
<Tracy> 在 2024-09-28 上传 | 大小:3801088 | 下载:0

[数据结构常用算法Path

说明:使用顺序队列求迷宫的最短路径。move[]数组四个方向的试探,第一行输入的数据表示迷宫的数据规模n(1<n<=20)行m(1<m<=20)列,S是出发点,D是迷宫的出口,.号表示通路,X表示墙体不通,输出的数据表示从入口到出口最少需要走k步或没有通路-Use the order of the queue and maze shortest path. move [] array of four direction
<Tracy> 在 2024-09-28 上传 | 大小:3655680 | 下载:0

[数据结构常用算法BiTree

说明:1、 编写程序按先序次序输入二叉树中结点的值构造二叉链表表示的二叉树。 2、 编写程序采用三种递归遍历算法(前序、中序、后序)对这棵二叉树进行遍历。 3、 编写程序计算该二叉树的高度。-A writing program preorder order input binary tree represented by the value of the structure of the binary tree node binary
<Tracy> 在 2024-09-28 上传 | 大小:3674112 | 下载:0

[数据结构常用算法Line

说明:1、定义一个建立一元多项式的函数; 2、定义能对单链表按指数排序的函数; 3、定义一元多项式加法和减法函数; 4、定义显示一元多项式的函数; 5、编写主程序调用上面的函数实现一元多项式的加减。 -1, the definition of an established one yuan polynomial function 2, the definition of a single linked list sort
<Tracy> 在 2024-09-28 上传 | 大小:3656704 | 下载:0

[数据结构常用算法topological-ordering

说明:这是拓扑排序的两种算法的对比,其中一个需要判断环结构算法过于复杂,但提出了另一个思路有兴趣的同学可以改一改,如果成功了请联系我,另一个是标准答案。-This is a comparison of the two topological sorting algorithm, one needs to determine the ring structure algorithm is too complex, but another ide
<杨伟健> 在 2024-09-28 上传 | 大小:419840 | 下载:0

[数据结构常用算法zoj1027

说明:这是zoj1027代码,求串的相似度,里面有注释-This is zoj1027 code and string similarity inside a comment
<杨伟健> 在 2024-09-28 上传 | 大小:1024 | 下载:0

[数据结构常用算法01bag-AGL

说明:01背包问题基础代码,在各大oj上有相似题目-01 knapsack problem underlying code
<杨伟健> 在 2024-09-28 上传 | 大小:416768 | 下载:0

[数据结构常用算法portfolio-problem

说明:企业已拥有定量资金,准备投资,有多个可供投资的项目,并可预知可供投资的项目的资金需求和投资回报率,求回报率最大化的投资组合。运用队列实现。-The companies already have quantitative funds are prepared to invest more available for investment in the project, can predict the demand for funds av
<family> 在 2024-09-28 上传 | 大小:339968 | 下载:0

[数据结构常用算法parking-management

说明:设停车场是一个可以停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。具体要求在相应的word文档中列出了。试为停车场编制按上述要求进行管理的模拟程序。-Parking is a narrow channel n cars parking and only one door for cars in and out. Specific requirements are listed in the word document. Test f
<family> 在 2024-09-28 上传 | 大小:10240 | 下载:0

[数据结构常用算法hash_mpq

说明:一个具体的hash实现方法,取自于暴雪公司的程序实现,使用多个hash value来同时验证hash的有效性,保证一次命中,实现效率非常高。-A specific hash method, derived from the Blizzard program achieved using multiple hash value to verify the validity of the hash at the same time, gua
<qingqing> 在 2024-09-28 上传 | 大小:1024 | 下载:0

[数据结构常用算法sectog-shmbolic

说明:kmeans算法实现 a simple k-means clustering routine returns the clus()
<pbftordev> 在 2024-09-28 上传 | 大小:1024 | 下载:0
« 1 2 ... .93 .94 .95 .96 .97 2098.99 .00 .01 .02 .03 ... 2656 »

源码中国 www.ymcn.org