会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
墨子32
博客园
首页
新随笔
联系
订阅
管理
04 2021 档案
字符串匹配算法BF、KMP、BM的python实现。
摘要:# BF算法 def BF(str1,str2): halen = len(str1) nelen = len(str2) j = 0 for i in range(halen): if j == nelen: break if str1[i] == str2[j]: j = j+1 else: i
阅读全文
posted @
2021-04-23 16:39
墨子32
阅读(354)
评论(0)
推荐(0)
公告