Topic: Language Problem / Level: advanced

Problem: Write a program to find the longest palindromic prefix in a string.

Run the code to see the output here...