Return the minimum sum path from top-left to bottom-right of a grid, moving only right or down.
Write min_path_sum(grid).
Starter:
def min_path_sum(grid):
# TODO
pass
Solve it interactively in your browser (no setup), check your answer instantly, and keep your daily streak going on IWTLP: https://iwtlp.com/challenge
Top comments (0)