随笔分类 -  动态规划

摘要:动态规划,注意处理当前最大值小于0的情况 阅读全文
posted @ 2017-11-01 18:38 pulusite 阅读(98) 评论(0) 推荐(0)
摘要:You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl 阅读全文
posted @ 2017-09-26 23:08 pulusite 阅读(105) 评论(0) 推荐(0)