字符串
字符串算法
小刀刺大熊
这个作者很懒,什么都没留下…
展开
-
生成回文数
【代码】生成回文数。原创 2024-04-07 21:51:19 · 327 阅读 · 0 评论 -
最小表示法
【代码】最小表示法。原创 2024-04-07 10:35:32 · 112 阅读 · 0 评论 -
扩展kmp
【代码】扩展kmp。原创 2024-04-06 18:03:35 · 112 阅读 · 0 评论 -
KMP模板
#include <iostream>using namespace std;void GetNext(char *str, int * next){ int nlen = strlen(str); next[1] = 0; int nIndex = 1; int nstartIndex = 0; /* 假定 next[ nIn...原创 2018-05-13 11:08:02 · 155 阅读 · 0 评论 -
字符串哈希
字符串哈希原创 2022-10-06 16:33:27 · 127 阅读 · 0 评论