资源列表
[数据结构常用算法] the-maze-problem
说明:功能:用递归方法实现对迷宫问题的求解。 内容说明:熟练递归特点;掌握递归与栈的关系。-Function: using recursive method to solve the maze problem. Content Descr iption: familiar with recursive characteristics master the relationship between recursion and stack.<Sylvie> 在 2025-06-14 上传 | 大小:11kb | 下载:0
[数据结构常用算法] basic-operation-of-guangyibiao
说明:对广义表实现下列 4 种基本运算:(1)创建广义表;(2)遍历广义表;(3)求广义 表的深度;(4)求广义表的长度。-The following 4 basic operations of the generalized table: (1) create a generalized table (2) the ergodic generalized table (3) the depth (4) the length.<Sylvie> 在 2025-06-14 上传 | 大小:11kb | 下载:0
[数据结构常用算法] createtree
说明:先序遍历,中序遍历建立二叉树。根据输入先序和中序遍历结果建立起二叉树。-Preorder, preorder binary tree. The results establish binary tree traversal sequence and the first input sequence.<李智强> 在 2025-06-14 上传 | 大小:11kb | 下载:0
[数据结构常用算法] KMP
说明:KMP算法是一种改进的字符串匹配算法,由D.E.Knuth,J.H.Morris和V.R.Pratt同时发现,因此人们称它为克努特——莫里斯——普拉特操作(简称KMP算法)。(KMP algorithm is an improved string matching algorithm, discovered by D.E.Knuth, J.H.Morris and V.R.Pratt simultaneously, so people call it Knut Maurice Platt ope<法师学徒 > 在 2025-06-14 上传 | 大小:11kb | 下载:0
[数据结构常用算法] Joseph
说明:编号是 1,2,……,n 的 n 个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值 m,从第 一个仍开始顺时针方向自 1 开始顺序报数,报到 m 时停止报数。报 m 的 人出列,将他的密码作为新的 m 值,从他在顺时针方向的下一个人开始 重新从 1 报数,如此下去,直到所有人全部出列为止。设计一个程序来求出出列顺序。(The number is 1, 2,...... N's n individuals sit in circles<听闻abc > 在 2025-06-14 上传 | 大小:11kb | 下载:0
[数据结构常用算法] insertlist
说明:首先建立一个链表,之后通过linklist insertlist实现链表的插入(future insert of list)<王小赖111> 在 2025-06-14 上传 | 大小:11kb | 下载:0