A robot starts in the top-left corner of an m × n grid and may only move right or down. Return the number of unique paths to the bottom-right corner.
m × n
m = 3, n = 7
28
m = 3, n = 2
3
1 <= m, n <= 100
Topics
Implement uniquePaths in the editor and return the answer — printing it is never graded.
uniquePaths
Problem 82 of 1146 in the arena