Regarding Output

We have to print the maximum length of a palindromic substring or substring itself there is a contradiction in the question.

Hey @isalive you have to print maximum palindromic substring and not it’s length. Also keep this in mind that print your output in that manner where if you have 2 substring in an string of same length then you print 1st substring and not the second one. Like in string =asdfghjklmnbvcxz there are 16 substrings of same length but the first substring is letter a so we will print that only.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.