Content deleted Content added
→Manacher's algorithm: fix missing period |
→Manacher's algorithm: fix missing periods |
||
Line 115:
// The palindrome centered at MirroredCenter is entirely
// contained in the palindrome centered at OldCenter. So,
// MirroredCenter and Center have the same sized palindrome
Line 124:
// The palindrome at MirroredCenter extends beyond the
// palindrome at OldCenter The palindrome at Center must
// end at the edge of the OldCenter palindrome. Otherwise,
// the palindrome at OldCenter would be bigger
|