Skip to main content

One doc tagged with "grid-dp"

View all tags

Minimum Path Sum

A grid dynamic programming problem finding the path with minimum sum from top-left to bottom-right, with O(m*n) time and O(n) space solutions.