I could not understand the explanation given in the book. can u give some more hints to this..?
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..
-
UP 0 DOWN 0 0 5
5 Answers
Sigma
·2012-02-22 09:12:46
Swaraj Dalmia
·2012-02-22 09:53:23
It is explained here: http://joaoff.com/2008/01/20/a-square-grid-path-problem/
samagr@
·2012-02-24 09:09:00
just consider the no of arrangements the word (UUUUUU... m times)(RRRRRRRR... n times)
U being UP direction , R being RIGHT direction