码迷,mamicode.com
首页 >  
搜索关键字:unique constraint    ( 5568个结果
【leetcode】Combination Sum
Combination SumGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thes...
分类:其他好文   时间:2014-12-29 22:56:46    阅读次数:207
【leetcode】Combination Sum II
Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sum...
分类:其他好文   时间:2014-12-29 22:44:29    阅读次数:185
[leetcode] 4Sum
4SumGiven an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum...
分类:其他好文   时间:2014-12-29 19:57:29    阅读次数:145
[leetcode] 3Sum
3SumGiven an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:El...
分类:其他好文   时间:2014-12-29 13:41:38    阅读次数:139
LeetCode:Unique Paths II
题目描述: Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectivel...
分类:其他好文   时间:2014-12-29 10:28:11    阅读次数:183
【leetcode】4Sum
4SumGiven an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum...
分类:其他好文   时间:2014-12-28 20:45:39    阅读次数:121
【leetcode】3Sum
3SumGiven an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:El...
分类:其他好文   时间:2014-12-28 20:43:43    阅读次数:117
[LeetCode] Combination Sum II
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. Each num...
分类:其他好文   时间:2014-12-28 20:42:50    阅读次数:108
[leetcode]Unique Binary Search Trees II
问题描述: Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example, Given n = 3, your program should return all 5 unique BST's shown below. 1 ...
分类:其他好文   时间:2014-12-28 16:57:22    阅读次数:142
leetcode. Permutation Sequence
The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of the permutations in order,We get the following sequence (ie...
分类:其他好文   时间:2014-12-28 16:45:20    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!