Template Function ADS::longestPalindromicSubstring(const S&)

Function Documentation

template<class S>
S ADS::longestPalindromicSubstring(const S &s)

the leftmost of the longest palindromic substrings of s

Post:

a palindrome occurring in s, empty only if s is