码迷,mamicode.com
首页 >  
搜索关键字:comare version number    ( 48018个结果)
Gray Code
[leetcode]Given a non-negative integer n representing the total number of bits in the code, print the sequence of gray code. A gray code sequence must begin with 0....
分类:其他好文   时间:2014-10-10 15:07:44    阅读次数:167
Linux下用命令行查询memcache的所有keys
1.telnet 10.10.24.106 11211 2.stats items STAT items:23:number 2 STAT items:23:age 934861 STAT items:23:evicted 0 STAT items:23:evicted_nonzero 0 STAT items:23:evicted_time 0 STAT items:23:outofmem...
分类:系统相关   时间:2014-10-10 13:38:54    阅读次数:195
android4.4以上透明状态栏简单设置
只要在Activity中的onCreate方法中增加如下代码: ?if (VERSION.SDK_INT >= VERSION_CODES.KITKAT) { ???// 透明状态栏 ???getWindow().addFlags( ?????WindowManager.LayoutParams.FLAG_TRANSLUCENT...
分类:移动开发   时间:2014-10-10 12:12:44    阅读次数:187
Leetcode: Max Points on a line
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.Brute Force的做法,N个点两两可以构成N(N-1)/2条线,我们可以找这N(N-1)/2条线...
分类:其他好文   时间:2014-10-10 10:39:54    阅读次数:167
Install a new Linux Kernel (3.10.56) in Guest OS (Dom U)
These days I want to install a new Linux kernel in Guest Operating System.The original version of Guest OS is 2.6.32, but I need a kernel version 3.10...
分类:系统相关   时间:2014-10-10 06:51:44    阅读次数:294
Install MongoDB on Windows
OverviewUse this tutorial to install MongoDB on a Windows systems.PLATFORM SUPPORTStarting in version 2.2, MongoDB does not support Windows XP. Please...
分类:数据库   时间:2014-10-10 05:20:04    阅读次数:471
[java]输入一个算术表达式输出结果
动手有益。输入一个表达式,没有括号,数字小于0-9之间,输出计算结果,所有的中间结果化为整形。例如: 输入:3+8×2/9-2 输出:2 /** * input a calculate string, calcuate the value * the number betw...
分类:编程语言   时间:2014-10-10 02:59:53    阅读次数:269
Leetcode:signal_number_ii
给一个数组,其中只有一个数出现一次,其他的数都出现3次,请找出这个数。要求时间复杂度是O(n),空间复杂度O(1)。...
分类:其他好文   时间:2014-10-10 02:20:23    阅读次数:177
UVA 11081 Strings(DP)
Given 3 strings of only lowercase letter you have to count the number of ways you can construct the third string by combining two subsequences from the first two strings.             After deleting ...
分类:其他好文   时间:2014-10-10 02:06:23    阅读次数:174
LeetCode-Reverse Nodes in k-Group
Reverse Nodes in k-GroupGiven a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a...
分类:其他好文   时间:2014-10-10 00:17:43    阅读次数:355
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!