1.题目A peak element is an element that is greater than its neighbors.Given an input array where num[i] ≠ num[i+1], find a peak element and return its index.The array may contain multiple peaks, in that...
分类:
其他好文 时间:
2015-03-15 15:17:57
阅读次数:
142
一.程序源代码#include#include#include#includevoid contain(){ int x,y; int z,yushu; x=rand()%100; y=rand()%100; z=rand()%4; if(yushu==1) { ...
分类:
其他好文 时间:
2015-03-15 13:44:21
阅读次数:
114
错误栈信息java.lang.IllegelArgumentException:Mapped Statements collection does not contain value for xxx.xxx(com.xx.storage.mapper.InternalExchageMapper.fi...
分类:
移动开发 时间:
2015-03-15 12:14:03
阅读次数:
140
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2015-03-15 07:06:35
阅读次数:
100
Tomcat Server的组成部分:站在框架的顶层的是Server和ServiceServer:servletcontainerService:Service是这样一个集合:它由一个或者多个Connector组成,以及一个Engine,负责处理所有Connector所获得的客户请求在Contain...
分类:
其他好文 时间:
2015-03-15 00:32:24
阅读次数:
102
DescriptionThere are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include maps of par...
分类:
其他好文 时间:
2015-03-13 09:14:41
阅读次数:
139
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="ADOBECODEBA...
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="ADOBECODEBA...
Subsets II问题:Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-desc...
分类:
其他好文 时间:
2015-03-10 22:59:27
阅读次数:
169
A peak element is an element that is greater than its neighbors.Given an input array where num[i] ≠ num[i+1], find a peak element and return its index.The array may contain multiple peaks, in that cas...
分类:
其他好文 时间:
2015-03-09 21:00:37
阅读次数:
157