随笔分类 -  算法

摘要:1、Partition List [2017/2/27] 第一遍没有 BUG-FREE [2017/3/1] 第二遍 BUG-FREE Given a linked list and a value x, partition it such that all nodes less than x co 阅读全文
posted @ 2017-02-27 21:00 药小药 阅读(101) 评论(0) 推荐(0)
摘要:思路:DP,dp[i]表示到第i个房子的最大值。 阅读全文
posted @ 2017-01-16 19:29 药小药 阅读(156) 评论(0) 推荐(0)