Maximum Difference Score in a Grid
Move right or down; the score of a path is its end value minus its start value, so track the smallest value reachable from above or the left.
Move right or down; the score of a path is its end value minus its start value, so track the smallest value reachable from above or the left.