Antonio Gulli's coding playground
Random commentary about C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
Saturday, December 10, 2011
A robot is moving in a rectangular board
It can move either down or right and the board is N x M. How many path does the robot have?
Steps are N+M and we can chose N, so ( N+M N) is the binomial factor we are looking for.
Share to Twitter
Share to Facebook
Post a Comment
Post Comments (Atom)