摘要: Problem Description:http://oj.leetcode.com/problems/combination-sum/ Basic idea:It seems complicate at first. But once I got the recursive idea, the solution was neat. This code could be not efficient. I will rewrite with dynamic programming next time. 1 class Solution { 2 public: 3 vector > ... 阅读全文
posted @ 2013-10-20 14:04 假日笛声 阅读(222) 评论(0) 推荐(0) 编辑