Dashboard
LC #62
Unique Paths
Pattern · ?AmazonGoogleMetaBloombergMicrosoft
Problem
Count unique paths from top-left to bottom-right of an m×n grid (only right or down moves).
Constraints
- 1 ≤ m, n ≤ 100
Example
- Input
- m = 3, n = 7
- Output
- 28
- Why
- From top-left to bottom-right of a 3×7 grid, moving only right or down
Spot the pattern
Which pattern cracks it?
Hints
One at a time