码迷,mamicode.com
首页 >  
搜索关键字:number of islands    ( 27069个结果
全局方法&Number对象
//js端function println(string){ document.write(string+""); }//html端
分类:其他好文   时间:2014-06-10 00:10:30    阅读次数:196
leetcode--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-10 00:01:38    阅读次数:392
哥德尔,图灵和康托尔
## 哥德尔编号一个形式系统仅是一系列公理和规则,比如用简单的英文来记录公理,“Number 0 exists”。但我们能否把自然数关联到公理和规则呢?我们知道,在计算机上一切都是数字。比如,字母 “N” 是78,字母 "u" 是 117,诸如此类。“Number”这个单词对于我们来讲,就像 781...
分类:其他好文   时间:2014-06-09 23:46:38    阅读次数:309
ORACLE—003:Create之创建表前判断表是否存在
建表前如何判断表是否存在呢,因为table是不支持replace的。下面的sql能帮到你。create前先判断表是否存在。例如,如果存在则drop掉那个表。当然你也可以定义自己的操作。 declare v_cnt Number; begin select count(*) into v_cnt from user_tables where upper(table_name) ...
分类:数据库   时间:2014-06-08 15:42:00    阅读次数:329
[LeetCode] Palindrome Number [13]
题目: Determine whether an integer is a palindrome. Do this without extra space. 解题思路: 判断一个int型整数是不是回文数字,这个题也不难,依次取得数字最高位和最低位进行比较,就可以判断是不是回文数字。需要注意的是负数不是回文数字。 代码实现:...
分类:其他好文   时间:2014-06-08 15:35:48    阅读次数:375
字典树 Trie (HDU 1671)
Problem Description Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalogue listed these numbers: 1. Emergenc...
分类:其他好文   时间:2014-06-08 10:31:22    阅读次数:234
【LeetCode】Single Number (2 solutions)
Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runti...
分类:其他好文   时间:2014-06-07 23:44:39    阅读次数:302
extjs动态树 动态grid 动态列
由于项目需要做一个动态的extjs树、列等等,简而言之,就是一个都是动态的加载功能,自己琢磨了半天,查各种资料,弄了将近两个星期,终于做出来了首先,想看表结构,我的这个功能需要主从两张表来支持代码目录表:CREATE TABLE SYS_T01_CODECONTENT( ID NUMBER NOT ...
分类:Web程序   时间:2014-06-07 21:19:39    阅读次数:457
Algorithm | hash
A basic requirement is that the function should provide a uniform distribution of hash values. A non-uniform distribution increases the number of coll...
分类:其他好文   时间:2014-06-07 16:58:29    阅读次数:240
leetcode--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-07 16:56:28    阅读次数:188
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!