摘要: Problem:Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each... 阅读全文
posted @ 2015-08-21 23:49 airforce 阅读(155) 评论(0) 推荐(0)
摘要: Problem:Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.link:https://leetco... 阅读全文
posted @ 2015-08-21 10:37 airforce 阅读(143) 评论(0) 推荐(0)
摘要: Problem:The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of the permutations in order,We get the following sequ... 阅读全文
posted @ 2015-08-21 06:10 airforce 阅读(229) 评论(0) 推荐(0)
摘要: Problem:https://leetcode.com/problems/substring-with-concatenation-of-all-words/You are given a string,s, and a list of words,words, that are all of t... 阅读全文
posted @ 2015-08-21 00:46 airforce 阅读(193) 评论(0) 推荐(0)