想要在移动web领域有所深造的小伙伴,第一关要过的就是逻辑像素与设备像素之间的关系。 初入移动web,一定要搞懂的几个单位(DPI、PPI、DP、PX 的详细计算方法及算法来源是什么?): dip(dp): device independent pixels(设备独立像素),是安卓开发用的单位,1d ...
分类:
移动开发 时间:
2016-04-16 16:41:19
阅读次数:
265
Question: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. For example, given the fol ...
分类:
其他好文 时间:
2016-04-11 18:45:17
阅读次数:
126
原作者:Eli Bendersky
http://eli.thegreenplace.net/2011/11/03/position-independent-code-pic-in-shared-libraries/
在之前的文章里我已经描述过在将共享库载入程序地址空间时需要特殊的处理。简而言之,在链接器创建共享库时,它不能预先知道这个库将在哪里载入。这给在库里访问数据与代码带来了麻烦,应该使...
分类:
其他好文 时间:
2016-04-08 15:10:19
阅读次数:
268
1. Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the h ...
分类:
其他好文 时间:
2016-03-30 22:07:01
阅读次数:
145
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. Example For example, given the follo ...
分类:
其他好文 时间:
2016-03-30 08:16:24
阅读次数:
142
1、区别 dip(device independent pixels)——设备独立像素:这个和设备硬件有关,一般哦我们为了支持WCGA、HVGA和QVGA推荐使用这个,不依赖于像素。等同于dp。 px(pixels)——像素:不同的设备显示效果相同,一般我们HVGA代表320x480像素,这个用的比 ...
分类:
其他好文 时间:
2016-03-29 00:48:16
阅读次数:
1066
public static int maximalRectangle(char[][] matrix) { int rowNum=matrix.length; if(rowNum==0) return 0; int columnNum=matrix[0].length; int[][] height
分类:
编程语言 时间:
2016-03-13 19:46:11
阅读次数:
198
1. RCNN: Rich feature hierarchies for accurate object detection and semantic segmentation 三个主要的模块: The first generates category-independent region pro
分类:
其他好文 时间:
2016-03-12 21:12:59
阅读次数:
272
一个矩阵仅包含1和0,找出其中面积最大的只含有1的矩形,并返回它的面积。...
分类:
其他好文 时间:
2016-03-12 14:51:09
阅读次数:
151