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
History,
3 months ago
Accountancy,
3 months ago
Math,
6 months ago
English,
6 months ago
English,
11 months ago