---
id: string-search
title: "String Searching"
author: Benjamin Qi
prerequisites:
- Silver - Depth First Search
description: Knuth-Morris-Pratt and Z Algorithms (and a few more related topics).
frequency: 1
---
export const metadata = {
problems: {
sample: [
new Problem("YS", "Set XOR-Min", "set_xor_min", "Easy", false, [], ""),
],
Z: [
new Problem("YS", "Z Algorithm", "zalgorithm", "Easy", false, [], ""),
new Problem("CF", "Concatenation with Intersection", "contest/1313/problem/E", "Hard", false, [], "")
],
pal: [
new Problem("ojuz", "Palindrome", "APIO14_palindrome", "Easy", false, [], ""),
]
}
};
## General
String Matching, KMP, Tries
# Single String
## KMP
## Z Algorithm
## Manacher
shorter code
# Multiple Strings
## Tries
## Aho-Corasick
## Palindromic Tree
DMOJ thing