摘要:
借鉴:http://www.cnblogs.com/steven_oyj/archive/2010/05/22/1741374.html 动态规划算法: 一、算法思想: 将待求解的问题分解成若干个子问题,并存储子问题的解而避免计算重复的子问题,并由子问题的解得到原问题的解。 l动态规划算法通常用于求 阅读全文
摘要:
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 阅读全文