资源列表
[数据结构常用算法] BFS_graph
说明:这是数据结构中图的广度优先算法的实现。广度优先算法是按照每个节点的拥有的孩子数目来进行遍历的。而不像图的深度优先算法是按照深层次,然后如果不能继续进入更深一层,就往回遍历。-BFS program of tree have a large of difference of the DFS program of trees.The produre of it is with the method of the children of a point ,rather than the depth o<冯严> 在 2025-06-14 上传 | 大小:10kb | 下载:0
[数据结构常用算法] sort_leap
说明:堆排序是一种比较优化的排序方法,特备是在只是找一串数字中前几个最大最小值时更显示它的优势。这个程序的堆排序包括每一轮的堆排序的调整以及最终的排序结果的显示。-leap sorted method is a excellent way to handle the sequence , exspecially when you want to find the proitory max or min number .the program concludes the method of the ad<冯严> 在 2025-06-14 上传 | 大小:10kb | 下载:0
[数据结构常用算法] for-c-array-size
说明:输入三个大小不同的数值,按这三个数由小到大输出。-for c array size<zenghongpu> 在 2025-06-14 上传 | 大小:10kb | 下载:0
[数据结构常用算法] output-prime-number
说明:判断101-200之间有多少个素数,并输出所有素数。-output100-200 prime number<zenghongpu> 在 2025-06-14 上传 | 大小:10kb | 下载:0
[数据结构常用算法] HD1014
说明:seed(x+1) [seed(x) + STEP] MOD 给你STEP,MOD,看对于上式是否seed(x)结果是否包括了0到MOD-1的所有值。 如果是,输出good choice 否则bad choice-seed (x+1) [seed (x)+ STEP] MOD to you STEP, MOD, look for a formula on whether seed (x) whether the results include 0 to MOD-1 for all<XIEYING> 在 2025-06-14 上传 | 大小:10kb | 下载:0
[数据结构常用算法] Application-Stack
说明:用算符优先法对算术表达式求值, 以字符序列的形式从终端输入语法正确的、不含变量的整数表达式-Integer expression with operator precedence arithmetic expression is uated in the form of a sequence of characters the input terminal grammatically correct, variable-free<倪培昆> 在 2025-06-14 上传 | 大小:10kb | 下载:0