Hints for LUCKPAL

I am having a little problem solving this question. I don’t want to see the actual implementation or the whole solution. Some basic approach or hints will go a long way.
http://www.codechef.com/problems/LUCKPAL

keep changing the letters in the string to “lucky” starting from index 0-4, then 1-5, and so on…
simultaneously, change the corresponding letters from the end as well. for eg. when u change 0-4 to lucky, the letters from the end should be “ykcul”…
that’s a lil hint…
if u need more, then let me know…

1 Like