MSTRINGS: Editorial

PROBLEM LINKS

Practice

Contest

Editorial Can be found here here

1 Like

You can just check if the string is palindrome and this is enough to solve the problem because when you mirror a part of a palindrome string the mirrored sub-string will also be present in the string itself

So every palindrome string is a magical string …

1 Like
//