Problem 64 · Medium

Minimum Path Sum

Find the cheapest right-or-down route across a grid of costs. The visual fills each cell with its own cost plus the cheaper of the cell above or to the left.

Open the interactive visualisation