算法描述: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. A mapping of digit ...
分类:
其他好文 时间:
2019-01-25 13:45:12
阅读次数:
146
算法描述: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set ...
分类:
其他好文 时间:
2019-01-25 13:44:44
阅读次数:
132
【题目】 Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: 【题意】 给出一个string,返回符合要求的IP地址的集 ...
分类:
其他好文 时间:
2019-01-25 01:06:00
阅读次数:
150
Given a number of different denominations of coins (e.g., 1 cent, 5 cents, 10 cents, 25 cents), get all the possible ways to pay a target number of ce ...
分类:
其他好文 时间:
2019-01-19 11:27:05
阅读次数:
111
public class Solution { public List letterCombinations(String digits) { LinkedList ans = new LinkedList(); if(digits.length() == 0) return ans; String ...
分类:
其他好文 时间:
2019-01-14 10:48:53
阅读次数:
157
Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. ...
分类:
其他好文 时间:
2019-01-13 21:41:39
阅读次数:
145
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: [ ...
分类:
其他好文 时间:
2019-01-12 10:36:19
阅读次数:
114
leetcode例题: 216. Combination Sum III Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be ...
分类:
其他好文 时间:
2019-01-07 10:39:23
阅读次数:
262
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: M ...
分类:
其他好文 时间:
2018-12-07 12:58:12
阅读次数:
210
Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numb ...
分类:
其他好文 时间:
2018-12-06 20:24:43
阅读次数:
179