You are viewing a single comment's thread. Return to all comments →
static int solve(int n, int m) { if(m==1 || n==1) return 1; if(m == n) return 2*solve(n-1,m); return (solve(n,m-1) + solve(n-1,m)); }
Is this logically correct?
Seems like cookies are disabled on this browser, please enable them to open this website
Matrix Tracing
You are viewing a single comment's thread. Return to all comments →
Is this logically correct?