Problem 1049. Path of least resistance
Find the length of the shortest path through the matrix from the top left to bottom right corner. You may move right, down, or diagonally right-down one element at a time. The length of the path is the sum of the elements you pass through.
The shortest path through this matrix has length 35. Each element along the path is marked with a *
Solution CommentsShow comments
Problem Recent Solvers68