Skip to main content

4 docs tagged with "Palindrome"

View all tags

Manacher's Algorithm

A guide to Manacher's Algorithm - finding the longest palindromic substring in O(n) time using palindromic symmetry.