Question bank › Recursion
Dsa Recursion Warm-up

Count Unique Paths

Given a grid of size m x n, where m is the number of rows and n is the number of columns, determine the number of unique paths from the top-left corner to the bottom-right corner. You can only move right or down at any point in time. Implement the function requiring recursion. Example: For a 2x2 grid, the output should be 2, as there are two paths: right->down and down->right.

Key concepts

recursiongridpathfinding

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of Praxari's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.