Starting in the top left corner of a 2



A: We can observe that:
- every path has exactly 2*n moves, every move being either right or down (backtracking isn't allowed)
- in every 2*n path there are n moves down and n moves right.
So, the number of all the distinct possibilities is the number of ways we can arrange n right moves from 2*n positions:
what will be the solution if you have to avoid one or two points in the square grid?
ReplyDelete