资源列表
[数据结构常用算法] tree
说明:c++下一个简单的多叉树实现: 利用迭代器方便地构建树, 可以递归输出,前序,后序。 利用栈实现输出。 销毁树只能后序遍历-c++ under a simple multi-tree implementation: the use of easy to build a tree iterator can be recursive output, pre-order after order. Use the stack to achieve the output. Only aft<张彭> 在 2025-06-19 上传 | 大小:744kb | 下载:0
[数据结构常用算法] suanfafenxi
说明:算法实验的内容 包括 fib 序列 矩阵的乘法 八枚银币问题-Algorithm experiments include fib sequence matrix multiplication eight silver issue. .<蓝夏军> 在 2025-06-19 上传 | 大小:31kb | 下载:0
[数据结构常用算法] chengshilianbiao
说明:将若干城市的信息,存入一个带头结点的单链表。结点中的城市信息包括:城市名,城市的位置坐标。要求能够利用城市名和位置坐标进行有关查找、插入、删除、更新等操作。-Several cities in the information into a single linked list node to take the lead. Nodes in the city information including: city name, the city' s location coordinates.<郭文明> 在 2025-06-19 上传 | 大小:65kb | 下载:0
[数据结构常用算法] zhaosewenti
说明:对于给定的图G,如果存在一种用2种颜色对顶点着色的方案,使得图中任意一条边所连接的2 个顶点着有不同颜色,则称图G 是可2着色的。-For a given graph G, if there is a vertex with two colors on the color scheme, making the graph an edge is connected to any two vertices with different colors, called graph G is 2 colo<郭文明> 在 2025-06-19 上传 | 大小:86kb | 下载:0
[数据结构常用算法] looking
说明:①建立一个查找表,使用顺序查找算法对其元素进行查找,并输出查找时比较的元素和最终的比较的次数。如果没有找到,则把该元素插入到该查找表中。 ②建立一个有序查找表,使用二分查找算法对其元素进行查找,并输出查找时比较的元素和最终的比较的次数;如果没有找到,则把该元素插入到该查找表中。-① a lookup table, using the sequential search algorithm to find its elements, and compare the output lookup<郭文明> 在 2025-06-19 上传 | 大小:142kb | 下载:0
[数据结构常用算法] zhanduiliesuanfa
说明:一、数制转换问题;二、回文判断;三、括号匹配的检验。-A number system conversion two palindromic judge three, bracket matching test.<郭文明> 在 2025-06-19 上传 | 大小:166kb | 下载:0
[数据结构常用算法] radix_sort
说明:基数排序,小积累成就大师download-Radix sort, a small accumulation of achievements master download. . . . .<zhaoxuefeng> 在 2025-06-19 上传 | 大小:279kb | 下载:0
[数据结构常用算法] merge
说明:经典的插入排序-Classic insertion sort. . . . . . . . . . . . . . . . . .<zhaoxuefeng> 在 2025-06-19 上传 | 大小:248kb | 下载:0
[数据结构常用算法] knapsack_greedy
说明:贪心法解背包问题,你懂得。。。。。。。20个子真麻烦-Greedy method to solve knapsack problem, you know. . . . . . .<zhaoxuefeng> 在 2025-06-19 上传 | 大小:250kb | 下载:0