摘要: 所谓的组合就是从给定一组数据中选取若干个组合在一起,没有顺序的差别,所以很容易通过递归(dfs)来实现。实例一(leetcode):Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.F... 阅读全文
posted @ 2015-10-16 10:15 wxquare 阅读(287) 评论(0) 推荐(0) 编辑