how can i solve this question in practice section ?

i have tried using : APNASTR Problem - CodeChef

but it is showing that it’s not visible…is that problem is only for the contest?

This problem is not visible for practice yet!! It takes few days after the competition to move the contest problems to practice problems!!

Hope this helps!

1 Like

thanks :slight_smile:

@kunnu120 could you please help me how to solve this question…i have seen that many have used KMP during contest but i am unable to get the exact logic …

@pk301 just give me some time, Right now I’m really busy!! But I’ll be back to help you, thanks

@pk301 just saw you were the first one to solve the problem!! nice, sorry I was really busy