← 返回 snapchat 的题目列表Minimum Path Sum in a Grid Moving Only Right and Down
类型:online_judge
snapchat
Given a 2D integer grid, find the minimum path sum from the top left to the bottom right. You can only move down or right at each step.
Example
Input
3 3
1 3 1
1 5 1
4 2 1