【题目】
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 = "ABC"
Minimum window is "BANC".
Note:
If there is no such window in S that covers ...
分类:
其他好文 时间:
2014-06-05 11:14:26
阅读次数:
255
最近开始学习MySQL,主要是通过书籍,和看燕十八老师的视频,然后通过博客记录自己的学习过程。
登入数据库
zhiniaobu@telunsu-K55VD:~$ mysql -uroot -p
Enter password: 查看当前所有数据库mysql> show databases;#查看当前所有数据库
+--------------------+
| Database ...
分类:
数据库 时间:
2014-06-05 10:50:28
阅读次数:
284
【题目】
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 = "ABC"
Minimum window is "BANC".
Note:
If there is no such window in S that covers ...
Terrible SetsTime Limit:1000MSMemory
Limit:30000KTotal Submissions:3017Accepted:1561DescriptionLet N be the set of
all natural numbers {0 , 1 , 2 , . ...
分类:
其他好文 时间:
2014-05-31 22:01:28
阅读次数:
325
Linux打包命令tar -zcvf /home/xahot.tar.gz /xahottar
-zcvf 打包后生成的文件名全路径 要打包的目录例子:把/xahot文件夹打包后生成一个/home/xahot.tar.gz的文件。# tar -xf
all.tar这条命令是解出all.tar包中所有...
分类:
系统相关 时间:
2014-05-31 15:50:58
阅读次数:
439
vi /etc/sysconfig/i18n
LANG="en_US.UTF-8"SUPPORTED="en_US.UTF-8:en_US:en"SYSFONT="latarcyrheb-sun16"source
/etc/sysconfig/i18n以及export LC_ALL=zh_CN.UT...
分类:
其他好文 时间:
2014-05-31 14:02:03
阅读次数:
266
1.创建数据库 是指在数据库系统中划分一块空间,用来存储相应数据1.创建语法:CREATE
DATABASE 数据库名2.显示数据库:SHOW DATABASES;2.删除数据库1.语法:DROP DATABASE
数据库名;3.数据库存储引擎(表类型)1.显示mysql支持的存储引擎:SHOW E...
分类:
数据库 时间:
2014-05-31 11:40:51
阅读次数:
402
看似简单的一个菜单,确需要不少的知识点1.
getByClassgetElementsByClassName
已经有大部分现代浏览器支持了,只有ie6,ie7,ie8是不支持的。所以对ie6,7,8做特别的处理就行,而ie里边有个内置的属性一直被我们所忽略,document.all,这个比一般的do...
分类:
Web程序 时间:
2014-05-31 08:20:41
阅读次数:
340
DescriptionLet us consider sets of positive
integers less than or equal ton. Note that all elements of a set are different.
Also note that the order o...
分类:
其他好文 时间:
2014-05-31 05:12:49
阅读次数:
246
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=25&page=show_problem&problem=2299题意:输入n和m,有n个点和m条有向边,求出一个节点集合包括的节点个数最多,而...
分类:
其他好文 时间:
2014-05-31 03:26:25
阅读次数:
239