i didnt get the question itself here. and the example too. can u plse help me understand the question
Substrings which are palindromes
@agsa733_07f951d91d203133,
from all the substring of a string count those which are palindrome
eg abc --> a,ab,abc,b,bc,c out of these only a,b,c are palindrome so ans is 3
eg abb --> a,ab,abb,b,bb,b —> a,b,b,bb 4 are palindrom here
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.