Minimum Path Cost in a Grid
Add each cell value and the move cost from the value above into a row-by-row minimum over the cheapest arrivals.
Add each cell value and the move cost from the value above into a row-by-row minimum over the cheapest arrivals.