资源列表
[数据结构常用算法] jiaohuanzuoyouzishu
说明:已知二叉树采用二叉链表存储结构,编写一个算法交换二叉树所有左、右子树的位置,即结点的左子树变为结点的右子树,右子树变为左子树。-Known binary tree using linked list storage structure, the preparation of a binary tree algorithm for the exchange of all the left and right subtree of the location, that is, the left no<李月> 在 2025-06-17 上传 | 大小:145kb | 下载:0
[数据结构常用算法] tongjierchashujiedian
说明:采用二叉链表结构存储一棵二叉树,编写一个算法统计该二叉树中结点总数及叶子结点总数。-Binary list using a binary tree structure of storage, the preparation of a statistical algorithm of the binary tree nodes and the total number of the total number of leaf nodes.<李月> 在 2025-06-17 上传 | 大小:147kb | 下载:0
[数据结构常用算法] panduanzhongxinduicheng
说明:设单链表中存放有n个字符,试编写算法,判断该字符串是否有中心对称的关系,例如xyzzyx是中心对称的字符串。-Store located in a single list has n characters, the preparation of test algorithm, the string to determine whether there is any relationship between the centro-symmetric, for example, is centro-<李月> 在 2025-06-17 上传 | 大小:171kb | 下载:0
[数据结构常用算法] xunhuanliedui
说明:2. 假设以数组sequ[m]存放循环队列的元素,同时设变量rear和quelen 分别指示循环队列中队尾元素的位置和内含元素的个数。编写实现该循环队列的入队和出队操作的算法。提示:队空的条件:sq->quelen==0;队满的条件:sq->quelen==m。-2. Assuming an array sequ [m] cycle queue storage elements, while the variable set, respectively, rear and instr<李月> 在 2025-06-17 上传 | 大小:157kb | 下载:0
[数据结构常用算法] datastructure
说明:数据结构的高一凡代码,数据结构书上的代码全部有-A data structure where the high-code, data structures books, all of the code<zzg> 在 2025-06-17 上传 | 大小:195kb | 下载:0
[数据结构常用算法] create_algraphic
说明:图的建立,里面包括有向图和无向图的建立,还有带权值的建立方法,也有图的输出算法,图的存储结构是以邻接链表的形式存储的。-The establishment of plans, which include the maps and the establishment of undirected graph, as well as with the establishment of methods of weight, but also the output graph algorithms, ma<韩寒> 在 2025-06-17 上传 | 大小:2kb | 下载:0
[数据结构常用算法] create_graphic
说明:图的建立,有多种的图可以选择,也可以选择图的遍历方法,里面的图的存储结构是以顶点数组和邻接矩阵的方式存储的。-Map-building, there are several plans to choose, you can choose to graph traversal method, which the storage structure of the plan is based on vertex adjacency matrix of the array and stored the.<韩寒> 在 2025-06-17 上传 | 大小:2kb | 下载:0