Template Function ADS::palindromicPartition(const S&)

Function Documentation

template<class S>
std::vector<S> ADS::palindromicPartition(const S &s)

the fewest palindromes into which s can be cut, in their order; none for the empty s

Post:

every piece a palindrome, and the pieces joined give s (an audit)