![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Recursion
文章平均质量分 67
boegkpmlkvebevwa
这个作者很懒,什么都没留下…
展开
-
[LeetCode] Generate Parentheses
Total Accepted: 10863 Total Submissions: 35390 Given 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 · 368 阅读 · 0 评论 -
[LeetCode] Permutations II
Total Accepted: 8649 Total Submissions: 35072原创 2014-04-28 17:28:24 · 358 阅读 · 0 评论 -
[LeetCode] Combination Sum
Total Accepted: 9767 Total Submissions: 37455 Given 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 · 417 阅读 · 0 评论 -
[LeetCode] Palindrome Partitioning
Total Accepted: 9269 Total Submissions: 36157 Given 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 · 531 阅读 · 0 评论 -
[LeetCode] Path Sum
Total Accepted: 11233 Total Submissions: 37402原创 2014-04-21 17:25:41 · 425 阅读 · 0 评论 -
[LeetCode] Convert Sorted List to Binary Search Tree
Total Accepted: 9476 Total Submissions: 35578原创 2014-04-21 11:08:02 · 786 阅读 · 0 评论 -
[LeetCode] Balanced Binary Tree
Total Accepted: 13112 Total Submissions: 41069 Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which t原创 2014-05-05 18:06:21 · 446 阅读 · 0 评论 -
[LeetCode] N-Queens II
Total Accepted: 6667 Total Submissions: 21387 Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions.原创 2014-05-04 18:08:27 · 1156 阅读 · 0 评论 -
[LeetCode] N-Queens
Total Accepted: 7379 Total Submissions: 29099原创 2014-05-04 17:54:20 · 683 阅读 · 0 评论 -
[LeetCode] Letter Combinations of a Phone Number
Total Accepted: 8862 Total Submissions: 34390原创 2014-05-02 01:13:14 · 721 阅读 · 0 评论 -
[LeetCode] Combination Sum II
Total Accepted: 7633 Total Submissions: 31949 Given 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 · 500 阅读 · 0 评论 -
[LeetCode] Subsets
Total Accepted: 10972 Total Submissions: 40240原创 2014-04-19 21:27:59 · 1031 阅读 · 0 评论