TO_DATE格式(以时间:2007-11-02 13:45:25为例)Year: yy two digits 两位年 显示值:07yyy three digits 三位年 显示值:007yyyy four digits 四位...
分类:
数据库 时间:
2014-09-12 21:59:54
阅读次数:
385
Description
There is a string A. The length of A is less than 1,000,000. I rewrite it again and again. Then I got a new string: AAAAAA...... Now I cut it from two different position and get a new str...
分类:
其他好文 时间:
2014-09-12 19:11:14
阅读次数:
229
Part Ireference from:http://gridgain.blogspot.kr/2014/09/two-phase-commit-for-distributed-in.html2-Phase-Commitis probably one of the oldest consensus...
分类:
其他好文 时间:
2014-09-12 10:06:03
阅读次数:
230
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
You are given a target value to search. If found in the array retur...
分类:
其他好文 时间:
2014-09-12 00:01:02
阅读次数:
254
In the ancient pirate ages, the Pirate Land was divided into two teams ofpirates, namely, the Buccaneer and the Barbary pirates.Each pirate’s team was not fixed, sometimes the opponent pirates attacke...
分类:
其他好文 时间:
2014-09-11 23:56:22
阅读次数:
561
今天在学习JavaScript的时候碰到的一个类似于如下代码的问题:/** * * * one * two * three * one * */var lists = document.getElementsByTagName('li');for(var i =...
分类:
其他好文 时间:
2014-09-11 22:12:02
阅读次数:
160
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:
其他好文 时间:
2014-09-11 22:10:12
阅读次数:
187
Sorting It All Out
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 28055
Accepted: 9689
Description
An ascending sorted sequence of distinct values is one ...
分类:
其他好文 时间:
2014-09-11 21:00:22
阅读次数:
168
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array。...
分类:
其他好文 时间:
2014-09-11 17:28:02
阅读次数:
207
仅提供个人的一种解题思路,未必是最优,仅供各位参考!
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
*
*
* ClassName SolutionTwoSum
*
*
* Description Given an array of integers, find...
分类:
其他好文 时间:
2014-09-11 17:18:32
阅读次数:
199