not sowing any output
Wildcard pattern matching
Hi @Vibhuti0206
You are not getting output because in first for loop at line number 9 you are incrementing m that is why this loop has become an infinite loop. Instead of m++ you should do i++.
Hi @Vibhuti0206
You are facing wrong answer as you have to first make all elements at 0th row and 0th column as 0 and then make dp[0][0] as 1.
Here is your corrected code :
If your doubt is cleared then mark the doubt as resolved.
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.