please help me with the elephant path recursion code
Can you write me the recursion code for the elephant part?
It just follows the following recurrence:
dp[x][y] = Σdp[k][y] (where k ranges from 0 to x-1)+ Σdp[x][l] (where l ranges from 0 to y-1)
You can try to code it yourself.
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.