Skip to main content
mediumBlind 75

Unique Paths

Robot at top-left of m x n grid, can only move right or down Count unique paths to bottom-right corner Example: m = 3, n = 7 => 28 unique paths

Unique Paths is about turning repeated work into a reusable state instead of re-solving subproblems. Interviewers love it because it reveals your state-and-transition thinking and your edge-case discipline. Don't rush the code—spend your time nailing the state definition first.

Dynamic ProgrammingMath & Geometry

Meet Coco

Coco is an AI study partner, not a person. She listens while you explain your code, asks what a line does and never hands you the fix. Typing with Coco is free when you sign in, up to a daily limit. Talking with her out loud comes with the $79 pack. Anyone can open the editor and run their code.

1Count Unique Pathsmedium
Based onLeetCode