Manacher’s Algorithm: Longest Palindromic Substring

This article will break down Manacher’s algorithm clearly, so that the reader can build a solid mental model. But first, we need to briefly break down the problem at hand — finding the longest palindromic substring.

Longest Palindromic Substring

let str = "abbccbbaxxyyxx"