getting TLE for last test case…
Wildcard pattern getting TLE
hello @agarwalbhavya06
ur code is correct,
the issue is with the checker , it is showing runerror in last test case for all the solutions
yeah…
so any method to optimize it …so that all test cases get passed
no ,
dp is the best possible solution for this problem
but still dp is giving TLE
bro ur code is totally fine ,the issue is with cb online judge
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.