资源列表
[数据结构常用算法] RK
说明:实验RK算法,即利用Hash方法和素数理论,首先定义一个Hash函数(hash (r) = r mod q),然后将模式串P和文本串T中长度为m的子串利用Hash函数转换成数值。显然只需比较那些与模式串具有相同Hash函数值的子串。 当然因为Hash冲突的存在,还要进一步进行字符串比较,但只要选择适当的素数q, Hash冲突的概率就会很小 -Experimental RK algorithm, namely the use of Hash methods and prime number<chenb> 在 2025-06-14 上传 | 大小:213kb | 下载:0
[数据结构常用算法] Knight-Parade
说明:骑士巡游问题:从国际象棋棋盘上任意给定的方格开始移动骑士,相继地到达所有的64个方格,进入每个方格一次且仅进入一次。回溯法实现-Knight Parade problem: the chess board from any given knight box began to move, have to reach all the 64 squares, each square once and only entered into once. Backtracking to achieve<chenb> 在 2025-06-14 上传 | 大小:387kb | 下载:0
[数据结构常用算法] cruise
说明: 给定一张航空图,图中项点代表城市,边代表两城市之间的直通航线。现要求找出一条满足下述限制条件且途经城市最多的旅行路线: (1) 从最西端城市出发,单向从西向东途经若干城市到达最东端城市,然后再从东向西飞回起点(可途经若干个城市) (2) 除起点城市外,任何城市只能访问一次。 对于给定的航空图,请设计一个算法找出一条满足要求的最佳航空路线。 -Given an aviation map, map key points on behalf of the city, while o<chenb> 在 2025-06-14 上传 | 大小:431kb | 下载:0
[数据结构常用算法] p2
说明:program that uses a tree to store words, different things could be done to change, remove, or edit a word in a document<eugenetoddbro> 在 2025-06-14 上传 | 大小:4kb | 下载:0
[数据结构常用算法] shujujiegou-xianxing
说明:数据结构的实例编程,里面附有图片分析,主要为线性结构-Instance of data structure programming, with a picture of the inside, mainly linear structure<lxj> 在 2025-06-14 上传 | 大小:95kb | 下载:0
[数据结构常用算法] data-structure
说明:数据结构的二叉树作业,实现了前序、后序、中序的搜索。以及树的建立-simple code<顾闻捷> 在 2025-06-14 上传 | 大小:313kb | 下载:0
[数据结构常用算法] data-struct
说明:数据结构资料,对自己的整体提高是不错的帮助资料。-Data structure data, the overall enhancement of their own is a good help information.<liupan> 在 2025-06-14 上传 | 大小:999kb | 下载:0