Count the number of unique paths from the top-left corner to the bottom-right corner of a grid, moving only right and down.
Constraints
Example
>>> unique_paths(1, 1) 1 >>> unique_paths(3, 2) 3 >>> unique_paths(3, 7) 28 >>> unique_paths(10, 10) 48620
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints