ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
Strings

The algorithms on strings. More...

Topics

 Theory of strings
 AhoCorasick.h
 The search of many patterns at once, beyond the book.
 Alignment.h
 The alignments of two strings \( P \) and \( T \) of exercises 13.7 to 13.9 of the book.
 Anagrams.h
 The classes of anagrams among \( n \) words of length at most \( k \).
 ApproximateMatching.h
 The approximate string matching of section 13.1.
 EditDistance.h
 The engineered edit distance, longest common subsequence and approximate search, beyond the book.
 FrontCoding.h
 The front coding of a sorted dictionary of strings, beyond the book.
 Huffman.h
 The code of Huffman (reality check of section 14.4).
 LongestCommonExtension.h
 The engineered longest common extensions of a text, beyond the book.
 LongestCommonSubsequence.h
 The longest common subsequence (LCS) of \( P \) and \( T \), the reality check of section 13.7 of the book.
 Lyndon.h
 The Lyndon factorization and the least rotation of a string, beyond the book.
 MultiSearch.h
 The engineered search of many patterns at once, beyond the book.
 Palindromes.h
 Three classic problems on the palindromes of a sequence \( s \) of \( n \) items, and the eertree.
 Parentheses.h
 The longest balanced strings of parentheses inside a text of \( n \) characters, where open and close are the two parentheses and every other character is neither.
 PrefixSearch.h
 The search by prefix in a sorted dictionary of \( n \) strings, beyond the book.
 RearCoding.h
 The rear coding of a sorted dictionary of strings, beyond the book, and a compact dictionary on it (see Dictionaries searched by prefix).
 Segmentations.h
 The number of ways of writing a sequence \( X \) of \( n \) items as a concatenation of words, the counting version of the word break problem.
 StringBreaking.h
 Breaking a string.
 StringMatching.h
 The exact string matching, beyond the book.
 StringSearch.h
 The exact search of a pattern \( P \) of \( m \) bytes in a text \( T \) of \( n \) bytes, beyond the book.
 SubsequenceProblems.h
 Four classic problems on the subsequences of sequences \( X \), \( Y \), \( Z \) of lengths \( n \), \( m \), \( l \), relatives of the longest common subsequence, each by dynamic programming on the prefixes.
 SuffixApplications.h
 Problems on strings solved by a suffix array or a suffix tree, beyond the book (those of chapter 10, Searching Strings by Substring, of Ferragina's book and their classical companions).
 SuffixArray.h
 The suffix array of a text \( T \) of \( n \) symbols, beyond the book.
 SuffixAutomaton.h
 The suffix automaton (the directed acyclic word graph, DAWG) of a string \( S \) of \( n \) bytes, beyond the book.
 SuffixSorting.h
 The engineered construction of the suffix array and of its LCP array, beyond the book.
 SuffixTree.h
 The suffix tree of a text \( T \) of \( n \) symbols, beyond the book.
 WordBreak.h
 Is it Italian?

Detailed description

The algorithms on strings.

The definitions, the invariants and the costs of the area are in Theory of strings.