08Strings141–161Chapter overviewOverviewIntroduction to Strings141String Basics142Standard Library143String matching144String hashing145Trie146The Prefix Function and the KMP Algorithm147The Boyer–Moore Algorithm148Z Function (Extended KMP)149Aho–Corasick Automaton152Suffix Automaton (SAM)153Suffix Balanced Tree154Generalized suffix automaton155Suffix Tree156Manacher157Palindromic Tree158Sequence Automaton159Minimal Representation160Lyndon factorization161Main–Lorentz algorithmSuffix Array (SA)150Introduction to Suffix Arrays151In-place suffix sorting