Robot paths dp problem

https://ide.codingblocks.com/s/65653 what is wrong in this code

mayur post the question link too

Its a video tutorial, you can get its link in run LPOL18F3.

see the constraint properly u have made the aaray of wrong size

Hey Mayur,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.