题目:Reverse a linked list from positionmton. Do it
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m=
2 andn= 4,return1->4->3->2->5->NULL...
分类:
其他好文 时间:
2014-06-09 23:03:18
阅读次数:
254
题目描述Timy is visiting a beautiful park. There are M
rivers and N lakes(marked 1-N), any two lakes are connected by at most one
river. He knows that the...
分类:
其他好文 时间:
2014-06-09 20:57:26
阅读次数:
259
本文档以RDO的方式安装单节点、单网卡的Openstack。RDO是可在Red Hat
Enterprise Linux、Fedora及其变体上运行的社区支持OpenStack版本。部署简单方便,RDO中包含核心的OpenStack组件 –
Nova、Glance、Keystone、Cinder、N...
分类:
其他好文 时间:
2014-06-09 19:54:16
阅读次数:
385
If our web site hosted on web server canot be
accessed by other computer by public network, one of the possiblity is the
firewall setting is not confi...
题目链接The count-and-say sequence is the sequence of
integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one
1"or11.11is read off a...
分类:
其他好文 时间:
2014-06-09 15:53:03
阅读次数:
246
DescriptionConsider a group of N students and P
courses. Each student visits zero, one or more than one courses. Your task is to
determine whether it ...
分类:
其他好文 时间:
2014-06-09 15:36:50
阅读次数:
239
今天开始刷leetcode上的题,争取校招前刷过一遍,从AC率最高的题目开始刷,不废话了,看题题目:Single
NumberGiven an array of integers, every element appearstwiceexcept for one. Find
that single ...
分类:
其他好文 时间:
2014-06-09 12:57:45
阅读次数:
260
There is an need of kill one port is already in
use. The command is : lsof -i:8000 There will be a list of: command pid user fd
type device size...
分类:
其他好文 时间:
2014-06-08 21:47:33
阅读次数:
366
什么是单一职责原则 什么是单一职责原则? 单一职责原则的英文名称是Single
Responsibility Principle,简称SRP。SRP的原话解释是:There should never be more than one
reason for a class to change.也就是说...
分类:
其他好文 时间:
2014-06-08 19:36:12
阅读次数:
315
1068. Find More Coins (30)Eva loves to collect
coins from all over the universe, including some other planets like Mars. One
day she visited a univers...
分类:
其他好文 时间:
2014-06-08 18:49:44
阅读次数:
432