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 li...
分类:
其他好文 时间:
2015-02-27 11:54:33
阅读次数:
125
1,严重: Dispatcher initialization failedjava.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionat com.opensymphony.xwork2.inject.Contain...
分类:
其他好文 时间:
2015-02-27 00:19:55
阅读次数:
233
1,检索数组
2,字符串相关:BEGINSWITH, ENDSWITH , CONTAINS
例:@"name CONTAIN[cd] 'ang'" //包含某个字符串
@"name BEGINSWITH[c] 'sh'" //以某个字符串开头
@"name ENDSWITH[d] 'ang'" //以某个字符串结束
注:[c...
分类:
其他好文 时间:
2015-02-26 18:36:29
阅读次数:
137
Config.txt as below:Pay attention to this\";!@Install@!UTF-8!RunProgram="setup.exe"ExecuteParameters="/v /qb /norestart /lv \"..\\Contain Space\\insta...
分类:
其他好文 时间:
2015-02-25 21:08:04
阅读次数:
171
蛮常见一道题目。思路:1:排序,按顺序遍历两个数之和twoSum,2: 二分查找 (0 - twoSum)看是否存在这题最easy错的地方是must not contain duplicate triplets,所以遍历的这时候要用一个数字记录最后一个遍历的数字是,避免反复。#include#inc...
分类:
其他好文 时间:
2015-02-25 21:03:28
阅读次数:
150
题目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 = “ADOBECODEBANC”
T = “ABC”
Minimum window is “BANC”.Note...
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:
其他好文 时间:
2015-02-24 01:52:56
阅读次数:
152
Time Limit:1000MSMemory Limit:32768KBDescriptionCalculate A + B.InputEach line will contain two integers A and B. Process to end of file.OutputFor eac...
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,...
分类:
其他好文 时间:
2015-02-21 21:04:00
阅读次数:
193
D. Looking for OwlsEmperor Palpatine loves owls very much. The emperor has some blueprints with the new Death Star, the blueprints contain n distinct ...
分类:
其他好文 时间:
2015-02-21 00:16:05
阅读次数:
445