I suppose the test cases are weak because I submitted the code by mistake without memoization and it was accepted. Although I used recursion, I submitted without memoizing or bottom up,
Weak Test Cases
@googlerpratiik
yeah may be test cases are weak.recursive solution is not supposed to pass as per mentioned constraints
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.