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="ADOBECODEBA...
原题地址:https://oj.leetcode.com/problems/median-of-two-sorted-arrays/题意:There
are two sorted arrays A and B of size m and n respectively. Find the median...
分类:
编程语言 时间:
2014-06-04 18:52:31
阅读次数:
356
Givens1,s2,s3, find whethers3is formed by the
interleaving ofs1ands2.For
example,Given:s1="aabcc",s2="dbbca",Whens3="aadbbcbcac", return true.Whens3="...
分类:
其他好文 时间:
2014-06-03 14:05:46
阅读次数:
177
if(bHooked == FALSE){RtlInitUnicodeString
(&HookDriverName, L"\\FileSystem\\Ntfs");//获得\Driver\VolSnap驱动对象status =
ObReferenceObjectByName (&HookDrive...
分类:
其他好文 时间:
2014-06-03 12:06:08
阅读次数:
261
find k missing numbers from 1 to n. (k>=1)
分类:
其他好文 时间:
2014-05-30 21:41:26
阅读次数:
593
Storage不小心看到这个类,注释写着//
分布式文件存储类。。。。不懂,吖的,google不能用,只能用某度,挺火大的。又找到ThinkPHP\Library\Think\Storage\Driver
下面的File.class.php,那么,Storage类只是通过判断type去加载File....
分类:
其他好文 时间:
2014-05-30 17:02:40
阅读次数:
235
Given a binary tree containing digits
from0-9only, each root-to-leaf path could represent a number.An example is the
root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2014-05-30 16:32:52
阅读次数:
226
Givennpoints on a 2D plane, find the maximum
number of points that lie on the same straight line./** * Definition for a
point. * struct Point { * ...
分类:
其他好文 时间:
2014-05-30 16:27:19
阅读次数:
238
Given an unsorted array of integers, find the
length of the longest consecutive elements sequence.For example,Given[100, 4,
200, 1, 3, 2],The longest ...
分类:
其他好文 时间:
2014-05-30 16:20:32
阅读次数:
229
Follow up for problem "Populating Next Right
Pointers in Each Node".What if the given tree could be any binary tree? Would
your previous solution stil...
分类:
其他好文 时间:
2014-05-30 16:17:49
阅读次数:
210