I was not able to grasp how n-1 and m-1 moves was transferred to use formula ( m-1 + n-1 ) ! / (m-1)! (n-1)! .
How we derived this formula . Is this using permutations formula with repeat if yes then what is analogy here ?
Binomial coefficient for grid problem
Hey @nirmal1067 You need to take (n - 1) down steps (let’s say D), and (m - 1) right steps (let’s say R).
Now the total number of ways = number of ways to arrange (n - 1) D’s and (m - 1) R’s, which is simply
((n - 1) + (m - 1))! / ((n-1)! * (m-1)!)
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.