← Microsoft questions

Count paths in a matrix

Filed under Microsoft · Also reported at Media.net

Count all possible paths from the top-left cell (0, 0) to the bottom-right cell (M-1, N-1) of an M x N matrix, moving only right or down.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.