Back to Question

Minimum Path Sum

Question Explain

Given an $m \times 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. Use DP.

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.