Help

I need help with a problem. Can someone give me an idea?
https://www.spoj.com/problems/JUSTAPAL/
Can someone help. Thank you.
Welcome back steph111.

What have you tried?
Hint: charraster has the correct solution: find a center, work your way out, keep track of largest possibilities.
I tried to count all characters of the string in one array of 26 elements and do something with it, but I don't have an idea what to do with it. I don't understand your hint, can you please do the problem? Thank you.
Topic archived. No new replies allowed.