backtrack
文章平均质量分 58
细雨逐光
这个作者很懒,什么都没留下…
展开
-
131 Palindrome Partitioning [Leetcode]
题目内容: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For example, given s = “aab”, Return [原创 2015-10-02 23:02:41 · 291 阅读 · 0 评论 -
140 Word Break II [Leetcode]
题目内容: Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word. Return all such possible sentences. For example原创 2015-10-06 11:43:25 · 366 阅读 · 0 评论 -
216 Combination Sum III [Leetcode]
题目内容: Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers. Ensure that n原创 2015-10-06 17:39:07 · 350 阅读 · 0 评论 -
212 Word Search II [Leetcode]
题目内容: Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adjacent cell, where “adjacent” cells are原创 2015-10-06 17:03:44 · 594 阅读 · 0 评论