public class Solution { public int maxProduct(int[] A) { if (A == null || A.length == 0) { return 0; } if (A.length ...
分类:
其他好文 时间:
2015-05-29 15:16:50
阅读次数:
96
ORA-01000: maximum open cursors exceeded这是oracle数据库游标溢出错误1,生成游标 创建Statement或者PreparedStatement对象,会使用一个游标2,数据库游标配置 进入sqlplus,执行 show parameter o...
分类:
其他好文 时间:
2015-05-29 15:14:14
阅读次数:
167
Maximum Product SubarrayTitle:Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example,...
分类:
其他好文 时间:
2015-05-29 13:37:55
阅读次数:
98
Subsequence
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 9587
Accepted: 3855
Description
A sequence of N positive integers (10 < N < 100 000), each of the...
分类:
其他好文 时间:
2015-05-28 09:43:33
阅读次数:
143
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,?5,4],
the contiguous ...
分类:
其他好文 时间:
2015-05-27 17:18:16
阅读次数:
103
Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that positi...
分类:
其他好文 时间:
2015-05-27 15:47:44
阅读次数:
139
TCP协议以可靠性出名,这其中包括三次握手建立连接,流控制和拥塞控制等技术。我写的这个系统基于UDP协议模拟了一个TCP协议,所实现的功能如下:1.三次握手2.一个计时器,用来判断传输超时行为3.快速重传4.能处理不同的MSS(maximum segment size)5.没有被接收方确认收到的包会...
分类:
其他好文 时间:
2015-05-27 11:37:37
阅读次数:
354
/*
* @implemented
来看一下跟中断对象有关的两个对象:
typedef struct _IO_INTERRUPT
{
KINTERRUPT FirstInterrupt;
PKINTERRUPT Interrupt[MAXIMUM_PROCESSORS];
KSPIN_LOCK SpinLock;
} IO_INTERRUPT, *PIO_INTERR...
分类:
其他好文 时间:
2015-05-27 10:24:14
阅读次数:
263
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,...
分类:
其他好文 时间:
2015-05-27 08:37:27
阅读次数:
126
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree. For example:Given the below binary tree, 1 ...
分类:
编程语言 时间:
2015-05-26 18:40:02
阅读次数:
157