Minimum Path Sum in a Grid

Asked at Amazon · Coding Questions · Difficulty: Easy

Given a grid of non-negative numbers, return the minimum sum along a path from the top-left to the bottom-right, moving only right or down.

Loading the problem…