Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day-21 q3: Unique Paths #445

Open
div910 opened this issue Jan 19, 2024 · 5 comments
Open

Day-21 q3: Unique Paths #445

div910 opened this issue Jan 19, 2024 · 5 comments
Assignees

Comments

@div910
Copy link
Contributor

div910 commented Jan 19, 2024

Unique Paths

There is a robot on an m x n grid. The robot is initially located at the top-left corner (i.e., grid[0][0]). The robot tries to move to the bottom-right corner (i.e., grid[m - 1][n - 1]). 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.

The test cases are generated so that the answer will be less than or equal to 2 * 109.

Example 1:

Input: m = 3, n = 7
Output: 28

Example 2:

Input: m = 3, n = 2
Output: 3

@Tech-neophyte
Copy link
Contributor

Please assign this question to me @bh-g @kratika-Jangid @karishma-2020

@aishwarya-chandra
Copy link
Contributor

please assign this question to me

@namita0210
Copy link
Contributor

Pls assign this issue to me @bh-g

@Shubh-Krishna
Copy link
Contributor

please assign this question to me :) @bh-g

@Karnankita04
Copy link
Contributor

@bh-g please assign this issue to me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants