按照网上的教程一直没有配置好,上官网看到一句话,If you don't know which one you need, please refer to thecustom installation instructions.如果你不知道选择哪一个版本,参考相关说明Tailored Install...
分类:
其他好文 时间:
2014-06-18 13:33:03
阅读次数:
245
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Note:
You may assume that A has enough space (size that is greater or equal to
m + n) to
hold additional ele...
分类:
其他好文 时间:
2014-06-17 23:05:13
阅读次数:
246
1、
??
Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass.
For example:
Given 1->2->3->4->5->NULL, m =
2 and n = 4,
return 1->4->3->2->5->NULL....
分类:
其他好文 时间:
2014-06-17 23:03:12
阅读次数:
257
Structural Things
An
active class is a class whose objects own one or
more processes or threads and therefore can initiate control activity. An active class is just like a class except that it...
分类:
其他好文 时间:
2014-06-17 22:44:27
阅读次数:
310
题目
Merge k sorted
linked lists and return it as one sorted list. Analyze and describe its complexity.
方法
使用归并排序的思想,两两合并,直到最终变成一个。
public ListNode mergeKLists(ArrayList lists) {...
分类:
其他好文 时间:
2014-06-17 21:34:41
阅读次数:
183
C++Map:mapmapstudent; mapstudent相当于一个键值对数组,存储元素是一个个的键值对。mapstudent.insert(pair(1,"std_one"));换种写法:Mapstudent[1]=”std_one”; 1是key,”std_one”是valuema...
分类:
编程语言 时间:
2014-06-17 20:51:38
阅读次数:
280
Passing a large number of parameters is not convenient. A better approach is to substitute all the parameters with only one and make it an object.
分类:
编程语言 时间:
2014-06-17 20:40:07
阅读次数:
185
??
Common Divisions
In modeling object-oriented systems, the world often gets divided in several ways.
First, there is the division of class and object. A class is an abstraction; an object is one ...
分类:
其他好文 时间:
2014-06-17 16:25:38
阅读次数:
322
Since we only have one bag to pay for it is something that you will not miss.Its always wanted to fight a bag of coffee. See the code inside - dark al...
分类:
其他好文 时间:
2014-06-17 15:27:14
阅读次数:
204
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2014-06-17 14:35:50
阅读次数:
297