what is the error in my code ? how can I pass such big 2d arrays.
What is the error
@D19APPPP0016
Option 1 : Declare the dp array in global so you don’t have to pass it as argument at all.
Option 2 : Pass it in argument as int dp[][10005] instead of int **dp.
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.