Saturday 20 December 2014

Manacher’s Algorithm – Linear Time Longest Palindromic Substring – Part 4

In Manacher’s Algorithm Part 1 and Part 2, we gone through some of the basics, understood LPS length array and how to calculate it efficiently based on four cases. In Part 3, we implemented the same. Here we will review the four cases again and try to see it differently and implement the same. All […]


The post Manacher’s Algorithm – Linear Time Longest Palindromic Substring – Part 4 appeared first on GeeksforGeeks.






Read the full article here by GeeksforGeeks

No comments: