Skip to main content
Admissions guidance, study banks, and career tools — get started on Shalyam

Unique Paths

A robot starts at the top-left of an m x n grid and can only move right or down. Print the number of unique paths to the bottom-right corner.

Constraints

1 <= m, n <= 100 The answer fits in a 64-bit integer

Discussion

No discussions yet.

Rewards · v2.1

Get Exclusive Insights with Every Issue

Join Shalyam Newsletter

Stay ahead in education, research, and innovation—straight to your inbox.