|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Palindrome algorithms over strings. More...
Go to the source code of this file.
Classes | |
| struct | Aleph::Manacher_Result |
| Result object for Manacher's algorithm. More... | |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Functions | |
| Manacher_Result | Aleph::manacher (const std::string_view text) |
| Compute palindromic radii and the longest palindrome with Manacher. | |
| std::string | Aleph::longest_palindromic_substring (const std::string_view text) |
| Convenience wrapper returning only the longest palindromic substring. | |
Palindrome algorithms over strings.
Includes Manacher's algorithm in O(n) for the longest palindromic substring and radius arrays for odd/even centers.
Definition in file String_Palindromes.H.