<doocs>0062.Unique Paths_1.py
def uniquePaths( m: int, n: int) -> int:
    dp = [[1] * n for _ in range(m)]
    for i in range(1, m):
        for j in range(1, n):
            dp[i][j] = dp[i - 1][j] + dp[i][j - 1]
    return dp[-1][-1]
def sample_funcname ( var_0 : int , var_2 : int ) -> int :
    var_6 = [ [ 1 ] * var_2 for var_4 in range ( var_0 ) ]
    for var_7 in range ( 1 , var_0 ) :
        for var_8 in range ( 1 , var_2 ) :
            var_6 [ var_7 ] [ var_8 ] = var_6 [ var_7 - 1 ] [ var_8 ] + var_6 [ var_7 ] [ var_8 - 1 ]
    return var_6 [ - 1 ] [ - 1 ]
