Need help....all test cases not working

Palindromic queries

hello @aman89533
image
here add else for this if.

and do dp[i][j]=0;

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.

hello @aman89533
wait i m checking

i have added the line

else:
dp[i][j]=0

but still not working

Ok…thanku very much…

please check it.

@aman89533

image

what u r doing here?

First of all i apologize for giving an un-updated code.

I have updated one condition and its worked.
It passed all test cases.

Thank you very much for your support…please keep me helping like this in further questions.

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.