โ† Synopsys questions

Count possible paths in a matrix

Filed under Synopsys

Given an N x M matrix, count the number of unique paths from the top-left cell (0,0) to the bottom-right cell (N-1, M-1). You can only move either down or right at any point in time.

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 Synopsys questions

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