码迷,mamicode.com
首页 >  
搜索关键字:number of islands    ( 27069个结果
Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他好文   时间:2014-06-04 20:15:09    阅读次数:289
Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each number ...
分类:其他好文   时间:2014-06-04 20:14:25    阅读次数:287
Edit Distance
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:其他好文   时间:2014-06-04 20:12:15    阅读次数:199
Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:其他好文   时间:2014-06-04 19:30:13    阅读次数:230
javascript学习笔记---ECMAScriptECMAScript 对象----修改对象
通过使用 ECMAScript,不仅可以创建对象,还可以修改已有对象的行为。prototype 属性不仅可以定义构造函数的属性和方法,还可以为本地对象添加属性和方法。创建新方法通过已有的方法创建新方法Number.prototype.toHexString = function() { retur....
分类:编程语言   时间:2014-06-04 19:25:37    阅读次数:284
Plus One
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:其他好文   时间:2014-06-04 19:19:52    阅读次数:185
Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:其他好文   时间:2014-06-04 18:58:39    阅读次数:277
hash桶
1 #include 2 #include 3 #include "chain.c" //include the chain.c to create chain and list 4 #define NUMBER_SCOPE 69000 5 #define ARRAY_SIZE 10...
分类:其他好文   时间:2014-05-29 17:01:46    阅读次数:297
使用SwingBench测试连接数以及修改连接数和pga
使用SwingBench工具对oracle环境进行压力测试,100个用户,就提示连接数不够:后台日志报错:Errors in file /oracle/admin/dbcc/bdump/dbcc_smon_3317.trc:ORA-00018: maximum number of sessions ...
分类:Windows程序   时间:2014-05-29 15:49:46    阅读次数:847
JavaScript判断数据类型总结
最近做项目中遇到了一些关于javascript数据类型的判断处理,上网找了一下资料,并且亲自验证了各种数据类型的判断网页特效,在此做一个总结吧!一、JS中的数据类型 1.数值型(Number):包括整数、浮点数。 2.布尔型(Boolean) 3.字符串型(String) 4.对象(O...
分类:编程语言   时间:2014-05-29 15:14:52    阅读次数:493
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!