A robot is on an m x n grid at the top-left corner. It can only move right or down. How many unique paths are there to reach the bottom-right corner?
Example
m = 3, n = 7 => 28
m = 3, n = 2 => 3
function UniquePaths(m: int, n: int) -> int
Found a bug? Or annoyed about something in the language? Tell us.