Computer Science, asked by sinjini43, 6 months ago

check palindrome string and count

Answers

Answered by gowrimano243
0

Answer:

Examples:

Input : str = "abaab"

Output: 3

Explanation :

All palindrome substring are :

"aba", "aa", "baab"

Input : str = "abbaeae"

Output: 4

Explanation :

All palindrome substring are :

"bb", "abba", "aea", "eae":

Similar questions