-
Notifications
You must be signed in to change notification settings - Fork 49
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
Comments
Please assign this question to me @bh-g @kratika-Jangid @karishma-2020 |
please assign this question to me |
Pls assign this issue to me @bh-g |
Closed
please assign this question to me :) @bh-g |
@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
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
The text was updated successfully, but these errors were encountered: