摘要: Design Patterns (Factory, Abstract Factory, singleton, DAO, Proxy): 1. Factory: In Factory pattern, we create object without exposing the creation log 阅读全文
posted @ 2016-09-10 07:19 whaochen 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 标签: 动态规划 题目描述: There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color i 阅读全文
posted @ 2016-09-10 04:54 whaochen 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 标签: 动态规划 描述: Find the contiguous subarray within an array (containing at least one number) which has the largest product. Find the contiguous subarray 阅读全文
posted @ 2016-09-10 00:47 whaochen 阅读(220) 评论(0) 推荐(0) 编辑