The most known area of theJordan 6 Carminemay
be the two-finger pull-up tongue and also the button lower shroud that hides top
of the a part of its la...
分类:
其他好文 时间:
2014-05-26 21:03:46
阅读次数:
333
Problem APlay with Floor and CeilInput:standard
inputOutput:standard outputTime Limit:1 secondTheoremFor any two
integersxandkthere exists two more in...
分类:
其他好文 时间:
2014-05-26 14:21:44
阅读次数:
270
public class HashMap extends AbstractMap
implements Map, Cloneable, Serializablepublic class TreeMap extends
AbstractMap implements Sorted...
分类:
编程语言 时间:
2014-05-26 13:34:23
阅读次数:
268
原题地址:https://oj.leetcode.com/problems/recover-binary-search-tree/题意:Two
elements of a binary search tree (BST) are swapped by mistake.Recover the
tree...
分类:
编程语言 时间:
2014-05-26 13:25:43
阅读次数:
261
最近在阅读Framework Design
Guidelines,本着现学现用的原则,于是就用FxCop工具对代码进行规范性检查时,发现了很多问题,其中包括命名以及一些设计上的规范。其中,Do not
expose generic lists 这条设计规范引起了我的注意。该规范指出“不要在对象模型中...
分类:
其他好文 时间:
2014-05-26 12:32:20
阅读次数:
294
Balancing CPU and I/O throughput is essential
to achieve good overall performance and to maximize hardware utilization. SQL
Server includes two asynch...
分类:
数据库 时间:
2014-05-26 12:20:40
阅读次数:
386
这种题都采用倒序的方式吧,从大到小添加。要注意的是一些小细节:比如for(int i = m+n-1;
i >=0; i--){}, 在for语句里面已经有i--了,循环里面就不需要再写一个i--了 1 public class Solution { 2
public void merge(...
分类:
其他好文 时间:
2014-05-26 12:14:48
阅读次数:
227
基本上一次过,要注意边界条件的问题:如果在recursion里有两个参数int begin, end,
递归写作recursion(num, mid+1, end), 因为+号的原因,递归中是会出现begin > end
的情况的,所以考虑初始条件的时候应该要考虑充分。 1 /** 2 * Def....
分类:
其他好文 时间:
2014-05-26 12:12:49
阅读次数:
257
Given a strings1, we may represent it as a
binary tree by partitioning it to two non-empty substrings recursively.Below is
one possible representation...
分类:
其他好文 时间:
2014-05-26 11:24:36
阅读次数:
214