登录
首页 » 算法 » 字符串模式匹配算法(KMP算法)

字符串模式匹配算法(KMP算法)

于 2022-01-25 发布 文件大小:10.96 kB
0 91
下载积分: 2 下载次数: 1

代码说明:

字符串的模式匹配(KMP算法)-string pattern matching (KMP algorithm)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • 素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束...
    素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束条件即可 1.与前面所有的数不重复 2.与前一个数和为素数(最后一个和第一个也要满足)。 〖算法流程〗 1、数据初始化; 2、递归填数: 判断第J种可能是否合法; A、如果合法:填数;判断是否到达目标(10个已填完): 是,打印结果;不是,递归填下一个; B、如果不合法:选择下一种可能;-Prime Central: 1-10 from 10 the number of put this into a ring, asked the two adjacent numbers and is a prime number. 〗 〖Analysis is a retrospective this topic. From 1 year, 9 out of every space possible, each may be bound by the conditions of accession to 1. And in front of all the number of non-repetition, 2. With a few and for a prime number (the last and the first to meet). 1〗 〖algorithm processes the data to initialize 2, fill in the number of recursion: first to determine the legality of J possible A, if the legitimate: the number of Reclamation to determine whether the target (10 have been completed): Yes, print the results of not, fill in the next recursive B, if not legitimate: a possible alternative
    2022-03-13 12:39:07下载
    积分:1
  • a mathematical algorithm large pool
    一个数学算法的大集合-a mathematical algorithm large pool
    2022-02-21 10:37:46下载
    积分:1
  • 蚁群资料
    资源描述蚁群算法资料大全,好不容易在网上找到的,打开看了,很值得学习,希望大家共同分享共同进步!
    2022-06-16 05:29:51下载
    积分:1
  • Fourier Transforms WAPAPI FFT function, display waveforms and sound very good
    FFT傅立叶转换 WAPAPI 函数, 显示波形和声音, 非常不错的-Fourier Transforms WAPAPI FFT function, display waveforms and sound very good
    2022-03-10 04:14:01下载
    积分:1
  • Procedures for the preparation of multi
    多线程程序的编写,应用多线程编写网络聊天室程序-Procedures for the preparation of multi-threaded, multi-threaded applications to prepare the network chat room program
    2022-03-14 13:59:14下载
    积分:1
  • 小波数字水印matlab
    基于小波变换的数字水印提取Matlab源代码-Digital Watermarking Based on Wavelet Transform Matlab source code extraction
    2022-05-24 23:27:28下载
    积分:1
  • AVL 树源代码
    AVL树是一种两个二进制排序树,但它可以保持高度ofbalance本身,并插入这使得搜索树是非常快的,当然,为了保持该树的平衡也做了一些保持树itselfbalanced操作树中插入和删除在process.AVL树节点的活动由前苏联发明GM阿德尔森,Velskii andE.M.兰迪斯在1962年,这种结构存在于计算机科学和第一数据结构的自我平衡特性,具有开拓性的意义,对于2-4树,红黑树,AA树的存货发明并指出thedirection,具有非常重要的意义这一设计理念。对于更复杂的数据结构是设计,如红黑树中多表现theaverage的AVL树,所以AVL树直接应用已经消失,butit是最好的学习设计思想之一,具有十分重要的意义或toimprove的水平。这是我知道的时候是在他们的派生树的插入和deletionalgorithms的AVL树。
    2022-08-17 09:34:42下载
    积分:1
  • 单纯型
    单纯型法-Simplex method
    2023-04-30 13:55:03下载
    积分:1
  • 构建凸包和不规则三角网
     使用C#和Arcengine技术,通过读取txt坐标的DEM高程数据文件文件,在mapcontrol上绘制点,并由点构建凸包,由三角网生长算法构建不规则三角网
    2023-01-22 03:15:04下载
    积分:1
  • 分析器
    实现编译系统的词法分析功能,是后续语法分析,语义分析的基础和重要环节。
    2022-02-24 11:27:50下载
    积分:1
  • 696518资源总数
  • 104530会员总数
  • 46今日下载