AlgoMaster Logo

Minimum Path Sum

grid=[[1,3,1],[1,5,1],[4,2,1]]
0 / 12
grid = 3x3startend131151421every step costs its cell; find the cheapest right/down route
algomaster.io
Step:Every cell has a cost. Find the cheapest top-left to bottom-right route, moving only right or down