Max Points with Cost
Given an m x n matrix of points, pick one cell from each row to maximize total points. Moving from column i to column j costs |i - j| points.
Given an m x n matrix of points, pick one cell from each row to maximize total points. Moving from column i to column j costs |i - j| points.