Two SumGiven an array of integers, find two
numbers such that they add up to a specific target number.The function twoSum
should return indices of the...
分类:
其他好文 时间:
2014-05-15 10:48:59
阅读次数:
322
chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法:chkconfig
[--add][--del][--list][系统服务] 或 chkconfig [--level ][系统服务...
分类:
系统相关 时间:
2014-05-15 10:28:17
阅读次数:
406
[root@localhost ~]# chkconfig --list
显示开机可以自动启动的服务[root@localhost ~]# chkconfig --add ***
添加开机自动启动***服务[root@localhost ~]# chkconfig --del *** 删除开机自动启...
分类:
系统相关 时间:
2014-05-15 09:47:40
阅读次数:
367
The web.config file can be used to set a
default document, or list of default documents for your website. Web.config can
be used to change the defau.....
分类:
Web程序 时间:
2014-05-15 02:21:15
阅读次数:
448
Linked List Cycle
Total Accepted: 17148 Total
Submissions: 49300My Submissions
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra sp...
分类:
其他好文 时间:
2014-05-15 00:13:50
阅读次数:
279
[ 问题: ]
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the ta...
分类:
其他好文 时间:
2014-05-15 00:04:39
阅读次数:
377
Java Web项目中缺少Java EE 6 Libraries怎么添加
具体步骤如下:
1、项目名称上点击鼠标右键,选择“Build Path-->Configure Build Path-->Java Build Path”
2、单击“Add Library...”
3、选择“User Library”,单击“Next”
4、单...
分类:
编程语言 时间:
2014-05-14 23:58:13
阅读次数:
619
Linked List CycleGiven a linked list, determine
if it has a cycle in it.Follow up:Can you solve it without using extra
space?做完Linked List Cycle II在做这...
分类:
其他好文 时间:
2014-05-14 23:30:00
阅读次数:
399
# 非波拉锲数列def fibs(num): the_list=[] a,b,i=0,1,1 for
i in range(num-1): a,b=b,a+b print bfibs(10)
分类:
编程语言 时间:
2014-05-14 22:00:27
阅读次数:
290
我们在网路基础的时候谈过关于路由的问题,两部主机之间一定要有路由才能够互通 TCP/IP 的协定,否则就无法进行连线啊!
一般来说,只要有网路介面,该介面就会产生一个路由,例如在鸟哥实验室内部的主机有一个 eth0 及 lo ,所以:
[root@desktop40 Desktop]# route [-nee]
[root@desktop40 Desktop]# route add [-...
分类:
其他好文 时间:
2014-05-14 20:38:13
阅读次数:
262