One test is giving run time error using top down dp
@aasif2364
in the question the max size of the strings can be 200 and your dp have limit of 100
so change dp[100][100][100] to dp[200][200][200]
it will work fine and if your issue still exists let me know and if clear mark it as resolved and rate my experience
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.