码迷,mamicode.com
首页 >  
搜索关键字:contain    ( 5282个结果
【LeetCode】Minimum Window Substring
Minimum Window SubstringGiven a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).Fo...
分类:Windows程序   时间:2014-12-09 13:59:54    阅读次数:367
Minimum Window Substring leetcode
Minimum Window Substring Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T =...
分类:Windows程序   时间:2014-12-08 23:08:30    阅读次数:266
(每日算法)LeetCode --- Subsets(子集合)
Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets. For example,...
分类:编程语言   时间:2014-12-08 21:29:03    阅读次数:285
LeetCode Find Peak Element
A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its index. The array may contain multiple peaks, in ...
分类:其他好文   时间:2014-12-08 21:25:17    阅读次数:177
【LeetCode】Subsets 解题报告
【题目】 Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets. ...
分类:其他好文   时间:2014-12-08 17:47:58    阅读次数:191
poj 1151 Atlantis (线段树+扫描线+离散化)
Atlantis Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 18061   Accepted: 6873 Description There are several ancient Greek texts that contain descriptions...
分类:其他好文   时间:2014-12-08 12:26:40    阅读次数:226
第十一章 泛型方法
1 概述1.1 引入泛型方法 在某些情况下,一个类型中可能只有少数方法成员用到了类型参数,这时就未必需要将整个类型都定义成为泛型。例如在下面的代码中,泛型类GC定义了一个静态方法Contain,用于判断一个元素是否存在于一个数组之中:public class GC{ //静态字段 st...
分类:其他好文   时间:2014-12-07 11:16:17    阅读次数:250
[LeetCode] Permutations II 排列
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2014-12-06 16:46:12    阅读次数:225
【LeetCode】Subsets II
Subsets IIGiven a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descend...
分类:其他好文   时间:2014-12-04 19:32:41    阅读次数:163
Subsets II
Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descending order....
分类:其他好文   时间:2014-12-03 22:47:54    阅读次数:153
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!