Minimum Path Sum

Total Accepted: 13839 Total Submissions: 44471 My Submissions

Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.

Note: You can only move either down or right at any point in time.

Have you been asked this question in an interview?

Discuss


You have not signed in, cannot submit your code.
Submit failed, try again please.

Send Feedback