Function ADS::palindromicFactorization
Defined in File Palindromes.h
Function Documentation
-
inline std::vector<std::string> ADS::palindromicFactorization(std::string_view s)
the fewest palindromes into which s can be cut, in their order, by the series of the eertree, \( O( n \log n ) \); none for the empty s
- Post:
as many pieces as palindromicPartition( s ), palindromes, that give s back (an audit)