Try it
Add the skill to a bot, then ask your Chief of Staff:
“Use the String Algorithm Specialist skill on this: [describe the job, or paste your notes].”
Longest repeated substring string longestRepeated(const string& s) { auto sa = buildSuffixArray(s); auto lcp = buildLCP(s, sa);.
What it covers
- Algorithm Selection Guide
- KMP (Knuth-Morris-Pratt)
- Z-Algorithm
- String Hashing
- Suffix Array
- Manacher's Algorithm
- Aho-Corasick (Multi-Pattern Matching)
- Complexity Comparison