资源列表
[数据结构常用算法] dfs
说明:深度优先搜索算法DFS的实现,1.如果有可能,访问一个领接的未访问的节点,标记它,并把它放入栈中。 2 当不能执行规则 1 时,如果栈不为空,则从栈中弹出一个元素。 3 如果不能执行规则 1 和规则 2 时,则完成了遍历。-Depth-first search algorithm DFS implementation, 1. If possible, visit a collar then outstanding access node, mark it and put it into the<陈源> 在 2025-07-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] expression
说明:利用堆栈先进后出的特点,使用进栈与出栈实现各种表达式的运算。-After the stack out of the use of advanced features, the use of the stack into the stack and out of operations to achieve a variety of expressions.<陈源> 在 2025-07-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] expression
说明:表达式求值,包括双字符的转换,求值,逆波兰-expression s transform and calculate.<朱琳> 在 2025-07-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] yuesefuhuan
说明: 若干个人围成一个圈,用循环链表来模拟!每个人有一个序号和一个密码,给定初始数字作为第一个出列的人号,然后依次把出列的人密码作为出列的下一个号.直到人出列完成1-Several individuals in a circle with a circular linked list to simulate! Everyone has a serial number and a password, given the initial figure out the column as the firs<min> 在 2025-07-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 1
说明: 给定n 位正整数a,去掉其中任意k≤n 个数字后,剩下的数字按原次序排列组成一个新的正整数。对于给定的n位正整数a 和正整数k,设计一个算法找出剩下数字组成的新数最小的删数方案。对于给定的正整数a,编程计算删去k个数字后得到的最小数。-Given n-bit positive integer a, to remove any of them k ≤ n digits after the original order of the remaining figures to form a new<pingzi> 在 2025-07-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] matchparentheses
说明:VC++ 数据结构实验算法 括号匹配的检验-VC++ data structures match the test in parentheses<张晓光> 在 2025-07-17 上传 | 大小:1kb | 下载:0