Unique Paths
Description
Input: m = 3, n = 2
Output: 3
Explanation:
From the top-left corner, there are a total of 3 ways to reach the bottom-right corner:
1. Right -> Right -> Down
2. Right -> Down -> Right
3. Down -> Right -> RightInput: m = 7, n = 3
Output: 28Solutions
Combinatorial approach
Dynamic programming
Last updated
