码迷,mamicode.com
首页 >  
搜索关键字:number of islands    ( 27069个结果
Oracle PL/SQL复合数据类型
drop table test purge; create table test (   id number(2),   name varchar2(60) ); insert into test values(1,'aaa'); insert into test values(2,'bbb'); insert into test values(3,'ccc'); insert...
分类:数据库   时间:2014-10-27 12:52:52    阅读次数:382
hdu1492(一个数的所有humber bunber的约数的个数)
题目意思:      求一个数的所有humber bunber的约数的个数 http://acm.hdu.edu.cn/showproblem.php?pid=1492 题目分析:      求出2,3,5,7的所有个数,用他们能组合出多少的数,就是n的Humber number数 AC代码: /**  *类似求素数的个数每一个数都可以表示成一些素数的乘积  *...
分类:其他好文   时间:2014-10-27 10:51:39    阅读次数:148
[Leetcode][JAVA] Sum Root to Leaf Numbers
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:编程语言   时间:2014-10-27 08:10:18    阅读次数:196
Oracle cast函数对用户数据进行类型转换
一、cast函数cast函数的作用是对用户输入的数据进行数据类型转换,比如用户数据的数据时number类型,小数位数是3位,我们可以将用户数据转换成整形数据int类型。cast函数的格式是cast(数据源as待转换的数据类型)比如我需要将number数据类型的13.658转换成int类型的整数类型SQL&..
分类:数据库   时间:2014-10-27 07:04:44    阅读次数:222
[Leetcode] Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-10-27 06:54:01    阅读次数:203
C语言结构体
一、结构体的定义 1、定义形式 struct 结构名 {成员列表;};       //定义为语句,分号不能丢 2、结构类型变量的声明 (1)声明形式1 struct student {     int number;    char name[10];    float score; }; struct student st...
分类:编程语言   时间:2014-10-26 22:53:30    阅读次数:220
[LeetCode] TwoSum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-10-26 21:10:30    阅读次数:170
A Tour of Go Multiple results
A function can return any number of results.This function returns two strings.package mainimport "fmt"func swap(x, y string) (string, string) { ret...
分类:其他好文   时间:2014-10-26 21:00:32    阅读次数:143
Front-end Job Interview Questions
Front-end Job Interview QuestionsThis repo contains a number of front-end interview questions that can be used when vetting potential candidates. It i...
分类:其他好文   时间:2014-10-26 18:24:28    阅读次数:354
SQL内连接-外连接join,left join,right join,full join
1、创建测试表test1及test2SQL> CREATE TABLE TEST1(ID NUMBER,NAME VARCHAR2(20));表已创建。SQL> create table test2(id number, country varchar2(10));表已创建。INSERT INTO ...
分类:数据库   时间:2014-10-26 18:21:23    阅读次数:312
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!