1.for a two dimension vector, we must assign at
least the first dimension of the vector2.each dimension of an inner vector can
be different3.if you do...
分类:
其他好文 时间:
2014-04-30 18:47:20
阅读次数:
549
题目: You are given two linked lists representing two
non-negative numbers. The digits are stored in reverse order and each of their
nodes contain a sin...
分类:
其他好文 时间:
2014-04-30 18:44:23
阅读次数:
428
http://trac.edgewall.org/wiki/TracNotification官网上提供的方法。个人觉得不是清楚,不过还是有参考价值的。以下写下自己的添加过程,以作记录。1.the[trac]
base_urloption must be set intrac.ini.base_url...
分类:
其他好文 时间:
2014-04-30 14:26:15
阅读次数:
365
少走弯路,直接BP
TOOL启动进入系统开机自动进入Fastboot模式,第一行会出现flash failure错误提示AP Fastboot Flash Moden(s)
(Flash Failure)使用如下命令fastboot flash system system.img 或者尝试下#adb...
分类:
移动开发 时间:
2014-04-30 14:20:01
阅读次数:
669
1.To survive among the ordinary,you must be strong
and independent!2.Be a unique person and develop skills so that nobody can
replace you!3.Since nans...
分类:
其他好文 时间:
2014-04-29 15:37:58
阅读次数:
567
2014-04-29
00:59题目:设计一个洗牌算法,效率尽量快点,必须等概率。解法:每次随机抽一张牌出来,最后都抽完了,也就洗好了。时间复杂度O(n^2),请看代码。代码: 1
// 18.2 shuffle a deck of 52 cards, it must be perfect rand...
分类:
其他好文 时间:
2014-04-29 14:38:25
阅读次数:
473
What is AngularJS?AngularJS is a JavaScript MVC
framework developed by Google that lets you build well structured, easily
testable, and maintainable f...
分类:
移动开发 时间:
2014-04-29 14:32:23
阅读次数:
971
2014-04-29
04:18题目:有一连串的数被读入,设计一个数据结构,能随时返回当前所有数的中位数。解法:用一个大顶堆,一个小顶堆将数分成数量最接近的两份,就能轻松得到中位数了。代码:
1 // 18.9 A stream of integers are passed to you, you....
分类:
其他好文 时间:
2014-04-29 14:16:52
阅读次数:
423
Are you worried that you will not be able to
migrate from http://tfs.visualstudio.com when they start charging for it and you
don’t want to pay? Fear ...
分类:
其他好文 时间:
2014-04-29 10:23:47
阅读次数:
496
Hello World!My first blog! I must try my best
to learn Python!print ("Hello World")
分类:
其他好文 时间:
2014-04-29 09:41:46
阅读次数:
300