?? Q?/

There is a rectangle with m vertical lines and n horizontal lines (taking the edges too).

Find the no.of ways in which a pencil can travel from the North-West to the South-East corner going through the shortest possible distance.
Note: The pencil can only travel on the lines..

5 Answers

262
Aditya Bhutra ·

it is a known result - (m+n)!m!n!

7
Sigma ·

I could not understand the explanation given in the book. can u give some more hints to this..?

21
Swaraj Dalmia ·

It is explained here: http://joaoff.com/2008/01/20/a-square-grid-path-problem/

1
samagr@ ·

just consider the no of arrangements the word (UUUUUU... m times)(RRRRRRRR... n times)
U being UP direction , R being RIGHT direction

7
Sigma ·

thanks

Your Answer

Close [X]