BT(binary tree), want to find the LIS(largest independent set) of the BT. LIS: if the current node is in the set, then its children should not be in t...
分类:
其他好文 时间:
2014-12-24 08:40:08
阅读次数:
120
Description
John has n tasks to do. Unfortunately, the tasks are not independent and the execution of one task is only possible if other tasks have already been executed.
Input
The input wi...
分类:
其他好文 时间:
2014-12-17 21:00:12
阅读次数:
202
详细解析Irrlicht引擎中关于Event Handle,Animator的实现方法,以及对Framerate Independent和Framerate dependent控制方式进行讨论...
分类:
其他好文 时间:
2014-12-16 21:05:09
阅读次数:
383
Introduction介绍 A “greenlet” is a small independent pseudo-thread. Think about it as a small stack of frames; the outermost (bottom) frame is the init....
分类:
编程语言 时间:
2014-12-16 20:48:51
阅读次数:
349
序言
RAID是“Redundant Array of Independent Disks“的缩写,称为"独立磁盘冗余阵列",通常简称为”磁盘阵列(DiskArray)“。通常简单来说,RAID技术就是将多个硬盘按照一定方式有机的组合在一起,形成一个大的硬盘阵列,从而提高硬盘数据的存储性能和数据备份技术。...
分类:
其他好文 时间:
2014-12-13 19:25:26
阅读次数:
250
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.找到01矩形中最大的全1子矩阵。我自己的思路: 我先用一个跟输.....
分类:
其他好文 时间:
2014-12-13 00:53:31
阅读次数:
241
(一)概念 dip: device independent pixels(设备独立像素). 不同设备有不同的显示效果,这个和设备硬件有关,一般我们为了支持WVGA、HVGA和QVGA 推荐使用这个,不依赖像素。 px: pixels(像素). 不同设备显示效果相...
分类:
移动开发 时间:
2014-12-10 18:21:13
阅读次数:
341
Maximal RectangleGiven a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.如果用DP来做,判断(begin...
分类:
其他好文 时间:
2014-12-06 16:44:58
阅读次数:
166
10305 - Ordering Tasks
John has n tasks to do. Unfortunately, the tasks are not independent and the execution of one task is only possible if other tasks have already been executed.
Input
The i...
分类:
编程语言 时间:
2014-12-04 01:01:21
阅读次数:
280
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.public class Solution { public...
分类:
其他好文 时间:
2014-12-03 22:43:28
阅读次数:
191