Expected Output

What will be the expected output for " aaa "

“a” ,“aa”, “aaa” will be the palindromic substrings