码迷,mamicode.com
首页 >  
搜索关键字:plus one    ( 30610个结果
Reverse Linked List II
题目 Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. Note: Given m,...
分类:其他好文   时间:2014-06-11 06:07:11    阅读次数:392
[LeetCode] Merge Sorted Array [22]
题目: Given two sorted integer arrays A and B, merge B into A as one sorted array. 原题链接(点我) 解题思路: 合并两个数组为一个有序数组,这题也很简单,唯一考查的地方就是怎么处理数组,是从前往后还是从后往前。一般情况,从后往前的效率比从前往后高,也要省不少事。代码如下,从后开始合并。 代码实现:...
分类:其他好文   时间:2014-06-11 00:37:42    阅读次数:314
在PADS LAYOUT中如何隐藏不需要的鼠线?
如下图示,将net GPR_0的鼠线隐藏。鼠标右键,选择网络----选择你要隐藏的网络------右键选择view nets----点击对话框右边View List里你所选的网络-----在右下角traces plus the....和None两个打勾,点Apply,就ok了。
分类:其他好文   时间:2014-06-10 13:24:50    阅读次数:585
oracle断电重启之ORA-01033和ORA-01172
参考文献:ORA-01033:解决方法数据库掉电后 ORA-01172 磁盘坏块解决方法--尝试连接数据库prjdbC:\Documents and Settings\Administrator>sqlplus test/test@prjdbSQL*Plus: Release 11.2.0.1.0 ...
分类:数据库   时间:2014-06-10 13:22:47    阅读次数:393
【leetcode】Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:其他好文   时间:2014-06-10 09:14:50    阅读次数:211
C++ 异步 IO(三) 异步IO
The oldest solution that people still use for this problem is select(). The select() call takes three sets of fds (implemented as bit arrays): one for...
分类:编程语言   时间:2014-06-10 08:26:42    阅读次数:325
Plus One
题目 Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list. 方法 ...
分类:其他好文   时间:2014-06-10 06:12:06    阅读次数:285
hust 1230 beautiful
题目描述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
Openstack CentOS6.5 ALL IN ONE 安装
本文档以RDO的方式安装单节点、单网卡的Openstack。RDO是可在Red Hat Enterprise Linux、Fedora及其变体上运行的社区支持OpenStack版本。部署简单方便,RDO中包含核心的OpenStack组件 – Nova、Glance、Keystone、Cinder、N...
分类:其他好文   时间:2014-06-09 19:54:16    阅读次数:385
Windows Firewall Setting
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...
分类:Windows程序   时间:2014-06-09 19:42:31    阅读次数:358
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!