码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
LeetCode-17-Letter Combinations of a Phone Number
算法描述: 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
LeetCode-22-Generate Parentheses
算法描述: 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
93. Restore IP Addresses
【题目】 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
Combinations Of Coins - Medium
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
17. Letter Combinations of a Phone Number
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
LC 377. Combination Sum IV
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
[LeetCode]22. Generate Parentheses括号生成
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
itertools mode 之 combinations用法
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
22. Generate Parentheses - Medium
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
40. Combination Sum II - Medium
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
963条   上一页 1 ... 8 9 10 11 12 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!