【LeetCode练习题】Unique Paths II
摘要:
Unique Paths IIFollow 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 is marked as1and0respectively in the grid.For example,There is one obstacle in the middle of a 3x3 grid as illustrated below.[ 阅读全文
posted @ 2014-04-11 21:45 Allen Blue 阅读(468) 评论(0) 推荐(0) 编辑