资源列表
[数据结构常用算法] 3
说明:栈的应用:括号匹配.即先建立一个栈(这里采用顺序栈),把左括号压入栈中,只有碰到匹配的右括号时出栈,否则则是不匹配,当栈中没有元时,匹配成功。-Stack of applications: matching bracket. The first to create a stack in a sequential stack (here), the left parenthesis pressure into the stack, only touching the matching bracke<Li Dan> 在 2025-06-25 上传 | 大小:1kb | 下载:1
[数据结构常用算法] 2
说明:单链表的操作:已知一个有序单链表(从小到大排列),表头指针为head,编写一个算法向该单链表中插入一个元素为x的结点,使插入后该链表仍然有序。(该单链表带头结点)-Singly linked lists of operation: orderly known a singly linked list (since), the meter pointer to the head, write an algorithm to the inserted singly linked list node<Li Dan> 在 2025-06-25 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 1
说明:稀疏矩阵转置: 输入稀疏矩阵中每个元素的行号、列号、值,建立稀疏矩阵的三元组存储结构,并将此矩阵转置,显示转置前后的三元组结构。-Sparse matrix transposition: input sparse matrix of each element in the row number, column number, the value triples storage structure create a sparse matrix, and the matrix transpose,<陈晓晖> 在 2025-06-25 上传 | 大小:1kb | 下载:0
[数据结构常用算法] the-farmer-across-the-river
说明:农夫过河问题的C++实现源代码,注释较少,希望对大家有所帮助-The farmer across the river C++ source code, fewer comments, we hope to help<唐锦阳> 在 2025-06-25 上传 | 大小:1kb | 下载:0
[数据结构常用算法] build-tree
说明:Pascal 建树程序,基本上完成。大家再略做修改就可以了。-Pascal build tree.<威虎> 在 2025-06-25 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Sorting
说明:排序算法,完成几种排序算法并进行比较-Sorting algorithm to complete several algorithm and compared<Kelley Kong> 在 2025-06-25 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Havel-Hakimi-Theorem
说明:此代码是图论Havel-Hakimi Theorem的实现,用于解决给出点集的入度数,判断一个图是否连通图-This code is shown in Figure On the implementation of the Havel-Hakimi Theorem, for solving the given point set into the degree to determine whether a graph connected graph<韦龙> 在 2025-06-25 上传 | 大小:1kb | 下载:0
[数据结构常用算法] connected-components
说明:此代码是基于数据结构算法分析的代码,用到图论中的深度优先收索法来求连通分支的问题,只要给出顶点、边数和相应的边就可以求出连通分支的数目-This code is based on the analysis of the code of the data structure algorithms used in graph theory depth-first closing cable method, as long as the given vertex connectivity of the<韦龙> 在 2025-06-25 上传 | 大小:1kb | 下载:0