Unique Paths
Problem
Input: m = 3, n = 7 Output: 28Input: 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 -> Down -> Down 2. Down -> Down -> Right 3. Down -> Right -> Down
Pseudocode
Solution
Time and Space Complexity
Time
Space
Last updated
