2017年3月2日

摘要: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. 阅读全文
posted @ 2017-03-02 17:02 烁宝宝 阅读(121) 评论(0) 推荐(0)
 
摘要: Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space 阅读全文
posted @ 2017-03-02 16:46 烁宝宝 阅读(94) 评论(0) 推荐(0)
 
摘要: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p 阅读全文
posted @ 2017-03-02 14:31 烁宝宝 阅读(116) 评论(0) 推荐(0)