arrow_back Back to Challenges

#62 Unique Paths

Medium Acceptance 0%
description

Problem Description

There is a robot on an `m x n` grid. The robot is initially located at the top-left corner. The robot tries to move to the bottom-right corner. The robot can only move either down or right at any point in time. Given the two integers `m` and `n`, return the number of possible unique paths that the robot can take to reach the bottom-right corner.

checklist Constraints

1 <= m, n <= 100

science Examples

Case #1

In: m = 3 n = 7
Out: 28

Case #2

In: m = 3 n = 2
Out: 3

Mastery Tags

Dynamic Programming Math

Hiring Companies

Amazon Bloomberg Google
code

Integrated IDE

code_blocks
Coding
psychology
Aptitude