[LeetCode] 021. Merge Two Sorted Lists (Easy) (C++/Python)...
分类:
编程语言 时间:
2015-03-04 21:09:52
阅读次数:
221
安装MegaCli#cd/opt#rpm-ivhMegaCli-2.00.12-1.el5.x86_64.rpm#/opt/MegaRAID/MegaCli/MegaCli64-LDInfo-Lall-aALL下图看出来是6块盘做的raid5查看磁盘性能#iostat-d-x-k110磁盘IO过高。rrqm/s:每秒这个设备相关的读取请求有多少被Merge了(当系统调用需要读取数据的时候,V..
分类:
其他好文 时间:
2015-03-04 19:17:57
阅读次数:
187
在使用svn merge命令报错英文版本:SVN Error: “' 'x' isn't in the same repository as 'y' ” during merge中文版本报错:并不在同一个版本库中如果你使用的是中文版本,那你就悲剧了,跟我一样,Google、百度都搜不到答案不过现在不...
分类:
其他好文 时间:
2015-03-04 16:53:17
阅读次数:
168
Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output the registered course list for each student who comes ...
分类:
其他好文 时间:
2015-03-04 12:58:12
阅读次数:
177
private void BindData() { SPWeb web = SPContext.Current.Web; SPList list = web.Lists["我的文档"]; SPListItemCo...
分类:
其他好文 时间:
2015-03-04 01:03:11
阅读次数:
135
https://oj.leetcode.com/problems/add-two-numbers/ You are given two linked lists representing two non-negative numbers. The digits are stored in rever...
分类:
其他好文 时间:
2015-03-03 23:32:43
阅读次数:
179
考虑有交集的两条链表A, B, 如题中的
A: a1 -> a2 ->
c1 -> c2 -> c3.
B: b1 -> b2 -> b3 ->
发现有性质:AB不同串(a1a2和b1b2b3)的长度差 即为AB串的长度差。
所以我们先求出AB串的长度差,再将较长的串移进相应...
分类:
其他好文 时间:
2015-03-03 20:40:05
阅读次数:
144
To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same s...
分类:
其他好文 时间:
2015-03-03 20:38:41
阅读次数:
148
function array_merge_recursive_new() { $arrays = func_get_args(); $base = array_shift($arrays); foreach ($arrays as $array) { ...
分类:
编程语言 时间:
2015-03-03 20:11:56
阅读次数:
193
publicinterfaceComparable<T>Thisinterfaceimposesatotalorderingontheobjectsofeachclassthat
implementsit.Thisorderingisreferredtoastheclass‘snatural
ordering,andtheclass‘scompareTomethodisreferredtoasits
naturalcomparisonmethod.Lists(andarrays)ofobjects..
分类:
其他好文 时间:
2015-03-03 18:55:41
阅读次数:
113