Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2014-10-16 06:33:22
阅读次数:
238
1, write down all the permutations of the string of character ;
2, sort these rows according to the first character of each row;
3, the last coloumn is the result string.
BWT reverse:
1, write...
分类:
其他好文 时间:
2014-10-15 23:26:11
阅读次数:
226
Top-Down vs. Bottom-Up DIBsIf you are new to graphics programming, you might expect that a bitmap would be arranged in memory so that the top row of t...
分类:
其他好文 时间:
2014-10-15 21:27:41
阅读次数:
836
安装JsonCpp需要下载JsonCpp和Scon还需要机器上有pythonhttp://down.51cto.com/data/1882940scons-2.3.2.tar下载http://down.51cto.com/data/1882938jsoncpp-src-0.5.0.tar下载scons又是一个牛叉的工具,功能和GNUmake一样,又比make简单多了。scons是python工具,需要先安装好..
分类:
Web程序 时间:
2014-10-15 16:32:01
阅读次数:
256
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the ...
分类:
其他好文 时间:
2014-10-15 16:02:10
阅读次数:
190
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-10-15 15:13:00
阅读次数:
200
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:
其他好文 时间:
2014-10-15 01:41:29
阅读次数:
266
libstdc++-4.8.2-16.el7下载地址:http://down.51cto.com/data/1882588[root@localhostkindit]#[root@localhostkindit]#rpm-qa|greplibstdclibstdc++-4.4.7-4.el6.i686[root@localhostkindit]#[root@localhostkindit]#[root@localhostkindit]#cd/home/kindit/Packages/packages..
分类:
编程语言 时间:
2014-10-14 21:37:50
阅读次数:
490
(1)主要是onScroll()方法和onTouchEvent()方法,先是onTouchEvent()的ACTION_DOWN,然后是 ACTION_MOVE和onScroll()方法同时进行,最后是onTouchEvent()的ACTION_UP。 (2)刷新的4种状态:CLICK_TO_REF...
分类:
其他好文 时间:
2014-10-14 20:50:49
阅读次数:
234
http://www.ivankuznetsov.com/2010/02/no-space-left-on-device-running-out-of-inodes.html No space left on device – running out of Inodes One of our development servers went down today. Problems sta...
分类:
系统相关 时间:
2014-10-14 19:05:29
阅读次数:
267