Minimum Path SumGiven amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along ...
分类:
其他好文 时间:
2015-09-09 21:10:38
阅读次数:
131
排序:0.1 确定排序的列:f //查看那一列是被排序的.0.2 移动排序的列:'' // 向左/右移动被排序的列0.3 改变排序的方向:R //大到小还是小到大0.4 快捷方式:M 表示内存排序;P 表示cpu 排序;T 表示占用cpu一秒时间百分比的 TIME+ 排序;N 表示Pid 排序条件过...
分类:
其他好文 时间:
2015-09-09 18:51:07
阅读次数:
159
Unique PathsA 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 a...
分类:
其他好文 时间:
2015-09-09 17:31:34
阅读次数:
163
Activity的两种启动模式:FLAG_ACTIVITY_CLEAR_TOP和FLAG_ACTIVITY_REORDER_TO_FRONT1. 如果已经启动了四个Activity:A,B,C和D。在D Activity里,我们要跳到B Activity,同时希望C finish掉,可以在start...
分类:
其他好文 时间:
2015-09-09 17:17:41
阅读次数:
103
下面是各种内存:VIRT:virtual memory usage 1、进程“需要的”虚拟内存大小,包括进程使用的库、代码、数据等 2、假如进程申请100m的内存,但实际只使用了10m,那么它会增长100m,而不是实际的使用量 RES:resident memory usage 常驻...
分类:
系统相关 时间:
2015-09-09 16:34:53
阅读次数:
163
1 10 14 15 android:layout_gravity="center_vertical"//设置控件显示的位置:默认top,这里居中显示,还有bottom 16 android:hint="请输入数字!"//设置显示在空间上的提示信息 17 android:numeric...
分类:
其他好文 时间:
2015-09-09 13:22:29
阅读次数:
188
vmstat命令是最常见的Linux/Unix监控工具,可以展现给定时间间隔的服务器的状态值,包括服务器的CPU使用率,内存使用,虚拟内存交换情况,IO读写情况。这个命令是我查看Linux/Unix最喜爱的命令,一个是Linux/Unix都支持,二是相比top,我可以看到整个机器的CPU,内存,IO...
分类:
系统相关 时间:
2015-09-09 12:52:07
阅读次数:
222
CPU使用率其实就是你运行的程序占用的CPU资源,表示你的机器在某个时间点的运行程序的情况。使用率越高,说明你的机器在这个时间上运行了很多程序,反之较少Top命令是Linux下常用的系统性能分析工具,能实时查看系统中各个进程资源占用情况top - 10:02:17 up 14 days, 19:18...
分类:
系统相关 时间:
2015-09-09 11:04:48
阅读次数:
203
Implement the following operations of a stack using queues.push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top()...
分类:
其他好文 时间:
2015-09-09 07:24:09
阅读次数:
132
Find the total area covered by tworectilinearrectangles in a2Dplane.Each rectangle is defined by its bottom left corner and top right corner as shown ...
分类:
其他好文 时间:
2015-09-09 06:12:13
阅读次数:
133