表的实现:数组:可以用动态数组实现,但是,删除和插入的开销太大。链表:由内存中一系列不相连的结构连成;每个结构含有表元素和指向下一个结构的指针;链表的实现: ps:为了方便删除和插入,我们设置一个头节点;节点:包含一个元素和指向下一个节点的指针;1 struct Node{2 int E...
分类:
其他好文 时间:
2014-07-09 23:59:48
阅读次数:
401
栈:是一种后进先出(LIFO)的结构,对其插入删除只能在栈顶进行;链表实现节点:#include#includetypedef struct Node *PtrToNode;typedef PtrToNode Stack;struct Node{ int Element; struct No...
分类:
其他好文 时间:
2014-07-07 23:48:05
阅读次数:
224
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:
其他好文 时间:
2014-07-07 23:24:09
阅读次数:
210
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:
其他好文 时间:
2014-07-07 22:57:13
阅读次数:
309
KVM I/O slowness on RHEL 6 http://www.ilsistemista.net/index.php/virtualization/11-kvm-io-slowness-on-rhel-6.html?limitstart=0 Over one year has passe...
分类:
其他好文 时间:
2014-07-07 20:21:46
阅读次数:
397
证明:反证法,假设$X$是完备的度量空间,且是第一纲的,下面我们推出矛盾 由于$X$是第一纲的,则$X$可表示为可数个疏朗集的并,不妨设$X = \bigcup\limits_{n = 1}^\infty {{M_n}} $,其中${M_n}$均为疏朗集任取一个闭球$B(a,1)$,由${M_1}$...
分类:
其他好文 时间:
2014-07-07 20:12:29
阅读次数:
173
题目:Given a linked list, remove the nth node from the end of list and return its head.For example,Given linked list: 1->2->3->4->5, and n = 2.After rem...
分类:
其他好文 时间:
2014-07-07 19:01:42
阅读次数:
155
转载: http://blog.csdn.net/frank0521/article/details/18226199前言还是大家常说的那句:生产环境千万记得备份哈~~~以下的环境,是我的测试环境,这里就不备份啦~1.升级Grid Infrastructure1.1 升级前准备1.1.1 软件准备这...
分类:
数据库 时间:
2014-07-07 18:18:08
阅读次数:
288
判断对象是不是数组可以用var arr:Array = [];trace(arr is Array);//truevar vec:Vector. = new Vector.();trace(vec is Vector.);//true但是如果Vector.该怎么判断这个东西是不是Vector呢tra...
分类:
其他好文 时间:
2014-07-07 18:14:54
阅读次数:
214
设 $f\in L(\bbR)$, 试证: $$\bex \vsm{n}f(n^2x) \eex$$ 在 $\bbR$ 上几乎处处收敛到一 Lebesgue 函数.证明: 由 $f\in L(\bbR)$ 知 $|f|\in L(\bbR)$ (see [程其襄, 张奠宙, 魏国强, 胡善文, 王漱...
分类:
其他好文 时间:
2014-06-30 13:52:50
阅读次数:
293