Revisiting LeetCode's Longest Palindrome Substring problem with two-pointer and Dynamic Programming solutions.

Revisiting this two-pointer problem on LeetCode. Last time, I didn't pay much attention to the Dynamic Programming solution which is very insightful. I'd recommend considering all known approaches to a solution to understand the topics better. Turns out that the simpler two-pointer solution to this one ran faster for me than the Dynamic Programming solution. 5. Longest Palindrome Substring https://lnkd.in/gX8GRDJV

  • No alternative text description for this image

Isn't that a direct knowledge check for a manacher algorithm?

To view or add a comment, sign in

Explore content categories