ques:https://practice.geeksforgeeks.org/problems/count-palindrome-sub-strings-of-a-string/0
code:https://ide.codingblocks.com/#/s/16688
what is error in my code & i am bit confused about the logic if(s[i]==s[j]) it is not necessary that it should be a palindromic substring
Palindromicsubstringcount
Heyy !, your code is giving wrong output for this test case
2
5
abaab
7
abbaeae
If you do this way it may be expensive for you and you will get TLE , use DP for storing all boolean value for all substrings of the given string .