check palindrome string and count
Answers
Answered by
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
Physics,
2 months ago
Social Sciences,
2 months ago
Math,
5 months ago
English,
5 months ago
English,
10 months ago