前言
字符串有关的算法,以及自己练习过的题目。
基础
UVA1584 Circular Sequence【字符串处理】
HDU4847 Wow! Such Doge!【字符串处理】
UVA10815 Andy's First Dictionary【字符串处理】
Codeforces Round #550 (Div. 3) A.Diverse Strings【字符串】
KMP
HDU2594 Simpsons’ Hidden Talents【KMP】
POJ2752 Seek the Name, Seek the Fame【KMP】
HDU2328 Corporate Identity【KMP+枚举】
HDU3336 Count the string【KMP+DP】
扩展KMP
AC自动机
HDU2222 Keywords Search【AC自动机】
Manacher
Manacher's ALGORITHM: O(n)时间求字符串的最长回文子串
POJ3974 Palindrome【Manacher算法】
HDU4513 吉哥系列故事——完美队形II【Manacher】
HDU3294 Girls' research【Manacher】
HDU3613 Best Reward【Manacher + 枚举 + 前缀和】