![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DFS
文章平均质量分 67
boegkpmlkvebevwa
这个作者很懒,什么都没留下…
展开
-
[LeetCode] Combination Sum II
Total Accepted: 7633 Total Submissions: 31949Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.原创 2014-04-30 17:57:43 · 493 阅读 · 0 评论 -
[LeetCode] Subsets II
Total Accepted: 8828 Total Submissions: 32877Given a collection of integers that might contain duplicates, S, return all possible subsets.Note:Elements in a subset must be in non-descending原创 2014-04-28 14:30:33 · 379 阅读 · 0 评论 -
[LeetCode] Subsets
Total Accepted: 10972 Total Submissions: 40240原创 2014-04-19 21:27:59 · 1023 阅读 · 0 评论 -
[LeetCode] Combination Sum
Total Accepted: 9767 Total Submissions: 37455Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repeat原创 2014-04-28 17:58:18 · 411 阅读 · 0 评论 -
[LeetCode] Permutations
Total Accepted: 12737Total Submissions: 41350原创 2014-04-28 15:56:17 · 337 阅读 · 0 评论 -
[LeetCode] Combinations
Total Accepted:10516 Total Submissions: 35090原创 2014-04-28 14:59:39 · 422 阅读 · 0 评论 -
[LeetCode] Restore IP Addresses
Total Accepted: 7130 Total Submissions: 35672Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given "25525511135", re原创 2014-04-24 18:26:53 · 397 阅读 · 0 评论 -
[LeetCode] Palindrome Partitioning
Total Accepted: 9269 Total Submissions: 36157Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of s. Fo原创 2014-04-23 11:04:29 · 522 阅读 · 0 评论 -
[LeetCode] N-Queens II
Total Accepted: 6667 Total Submissions: 21387Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.原创 2014-05-04 18:08:27 · 1149 阅读 · 0 评论 -
[LeetCode] N-Queens
Total Accepted: 7379 Total Submissions: 29099原创 2014-05-04 17:54:20 · 678 阅读 · 0 评论 -
[LeetCode] Letter Combinations of a Phone Number
Total Accepted: 8862 Total Submissions: 34390原创 2014-05-02 01:13:14 · 719 阅读 · 0 评论 -
[LeetCode] Generate Parentheses
Total Accepted: 10863 Total Submissions: 35390Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution se原创 2014-04-30 18:10:03 · 361 阅读 · 0 评论 -
[LeetCode] Permutations II
Total Accepted: 8649 Total Submissions: 35072原创 2014-04-28 17:28:24 · 352 阅读 · 0 评论