Skip to main content

1450. In pseudocode, write an algorithm that finds the longest palindrome within a string. For instance, inside "ababcdcbeb" it would be "bcdcb".

Easy
Technical
Share

In pseudocode, write an algorithm that finds the longest palindrome within a string. For instance, inside "ababcdcbeb" it would be "bcdcb".

Submit Your Solution

Sign up to share your answers and engage with other product managers!