Answer on question 38563 – Math – Algorithms
One of the way is
To get to the point from the point , we have to go at least units to the right and units up. If we go exactly steps to the right and steps up we get the shortest route and it is equal to .
About the second question: How many different shortest routes are there?
We have to do N steps to the right and other up. How many different combinations to do this? It is equal to the number of ways to place the N steps to the right into places. And it is equal to
Answer: ; .