资源列表
[数据结构常用算法] supermarketsiete
说明:超市选址,用数据结构,求最小生成树问题。自设计算法为超市寻找一个最短路径。-Supermarket site, the data structure, and minimum spanning tree problem. Since the design of algorithms for the supermarket to find a shortest path.<送爱心> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] stack_link
说明:这是用链表实现的栈数据结构。链表数据结构的最大优点是不受元素个数的限制,除非内存耗尽。-This is the stack implementation with linked list data structure. List data structure is not subject to the greatest advantage of the restricted number of elements, unless the memory run out.<刘志福> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 0-1package
说明:在0和1情况下进行背包问题解决,涉及多个物体的重量和价值,求得最大价值量以及分配方案。-At 0 and 1 backpack case for problem-solving, involving more than the weight of objects and values, as well as to achieve maximum value distribution program.<jingyuan> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Maze
说明:迷宫算法(maze) /* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK, * 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary. * Each step can be made horizontally or vertically for one more gri<JerryJiang> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Huffmatreeofdatastructure
说明:哈夫曼树又称最优二叉树,是一种带权路径长度最短的二叉树。所谓树的带权路径长度,就是树中所有的叶结点的权值乘上其到根结点的路径长度(若根结点为0层,叶结点到根结点的路径长度为叶结点的层数)。树的带权路径长度记为WPL=(W1*L1+W2*L2+W3*L3+...+Wn*Ln),N个权值Wi(i=1,2,...n)构成一棵有N个叶结点的二叉树,相应的叶结点的路径长度为Li(i=1,2,...n)。可以证明哈夫曼树的WPL是最小的。-Huffman tree is also called the op<刘正朝> 在 2025-06-16 上传 | 大小:1kb | 下载:0