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
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
仅提供个人的一种解题思路,未必是最优,仅供各位参考!
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
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.这是一道NP的题目,解题套路与Sudoku Solver类似,类...
分类:
其他好文 时间:
2014-09-11 11:05:21
阅读次数:
224
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:
其他好文 时间:
2014-09-10 17:36:20
阅读次数:
172
Producers create messages and publish (send) them to a broker server (RabbitMQ).What’s a message? A message has two parts: a payload and a label. The ...
分类:
其他好文 时间:
2014-09-10 14:08:00
阅读次数:
307
N-Queens
Total Accepted: 14054 Total
Submissions: 54127My Submissions
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other...
分类:
其他好文 时间:
2014-09-10 09:39:00
阅读次数:
272