循环有序 一共有以下两种情况 第一种 / / // / / 条件:(A[mid] >= A[low]) ,low~mid 二分,mid~high 递归第二种 / / / / / / 条件:(A[mid] A[mid])12 ...
分类:
其他好文 时间:
2014-06-19 06:46:36
阅读次数:
303
BACKGROUNDMany modern operating systems (OS's) use the Advanced Configuration and Power Interface (ACPI) standard, e.g., Rev. 3.0b, published Oct. 10,...
分类:
其他好文 时间:
2014-06-18 22:07:15
阅读次数:
382
public static string compress(string aString) { if (string.IsNullOrEmpty(aString)) return ""; StringBuild...
分类:
其他好文 时间:
2014-06-18 20:40:26
阅读次数:
205
如何加锁锁定表的语法: LOCK TABLES tbl_name [AS alias] {READ [LOCAL] | [LOW_PRIORITY] WRITE} [, tbl_name [AS alias] {READ [LOCAL] | [LOW_PRIORITY] WRITE}] ...解.....
分类:
数据库 时间:
2014-06-18 18:40:01
阅读次数:
336
Figure 1: Low latency software defined networking control loop The articles SDN and delay and Delay and stability describe the critical importance of ...
分类:
Windows程序 时间:
2014-06-18 10:58:32
阅读次数:
1043
208 Introducing CloudKit
231 Advanced CloudKit
CloudKit的对象粗略分为三个层次:Contriner、Database(分Public和Private)、Record
操作包括存储、获取或修改Record
可以注册关注Record的变化来获得Notification
绝大多数的操作是异步的
存储Record时需要注...
分类:
其他好文 时间:
2014-06-18 07:35:46
阅读次数:
228
题目
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.
If such arrangement is not possible, it must rearrange it as the low...
分类:
其他好文 时间:
2014-06-16 18:48:33
阅读次数:
170
一、压缩、解压缩命令1、压缩格式:gz,bz2,xz,zip,Z2、压缩算法:算法不同,压缩比也会不同;3、原始的压缩命令:compress:FILENAME.Z解压缩:uncompress4、压缩成.gz格式的文件(仅压缩文件)a)gzip/PATH/TO/SOMEFILE:压缩完成后会删除原文件,如:gzip/tmp/file*-d:解压缩,..
分类:
系统相关 时间:
2014-06-16 17:38:51
阅读次数:
341
Tarjan算法。1.若u为根,且度大于1,则为割点2.若u不为根,如果low[v]>=dfn[u],则u为割点(出现重边时可能导致等号,要判重边)3.若low[v]>dfn[u],则边(u,v)为桥(封死在子树内),不操作。求割点时,枚举所有与当前点u相连的点v:1.是重边: 忽略2.是树边: T...
分类:
其他好文 时间:
2014-06-15 11:46:09
阅读次数:
165
有段时间没打开Android Studio, 今天尝试编译个App却出现如下错误. Error:The SDK Build Tools revision (19.0.3) is too low for project ':app'. Minimum required is 19.1.0 折腾了一下,...
分类:
移动开发 时间:
2014-06-14 08:21:35
阅读次数:
299