码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
[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...
分类:其他好文   时间:2015-01-22 23:17:01    阅读次数:139
[LeetCode]17.Letter Combinations of a Phone Number
【题目】 Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Inpu...
分类:其他好文   时间:2015-01-22 21:53:23    阅读次数:259
JavaScript数据类型
原始数据类型:Undefined、Null、Boolean、Number 和 String。复杂数据类型:Object1.Undefined 类型 Undefined 类型只有一个值,即特殊的 undefined。 在使用 var 声明变量,但没有对其初始化时,这个变量的值就是 undefine.....
分类:编程语言   时间:2015-01-22 21:38:16    阅读次数:173
LeetCode 001 Two Sum
题目描述:Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices o...
分类:其他好文   时间:2015-01-22 21:34:11    阅读次数:167
oracle 判断字符串包含字母 ,取最大数
select max(to_number(goods)) from (select case when regexp_like(replace(goods_no,'A05',''),'[A-Za-z]') then '0' else replace(goods_no,'A05','') end .....
分类:数据库   时间:2015-01-22 20:08:16    阅读次数:195
Distinct Subsequences (dp)
Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from the orig...
分类:其他好文   时间:2015-01-22 19:53:56    阅读次数:168
oracle数据类型-2
5、NUMBER 用于存储零、正数、定长负数以及浮点数。NUMBER 数据类型可以以 NUMBER(P,S)的 形式来定义数字的精度和范围。 这里:p 表示精度 (1-38),它表示存储在列中数 字的总长度是 p 位: s 表示范围,它表示小数点后的位数。该取值范围可以从-84 到 127 。例如: CREATE TABLE test (name number(5)) 使用精度 5 来...
分类:数据库   时间:2015-01-22 18:01:45    阅读次数:200
[LeetCode] Largest Number
想到的就是排序,把大的放在前面,注意下面的程序,如果数字本身是0,也会加到str中,如果用while(tmp),那么就加不到str中了,这里相当于一个do while,不过个人不喜欢用do while,所以这样写29 while(1)30 {31 ...
分类:其他好文   时间:2015-01-22 17:31:55    阅读次数:157
poj1019--Number Sequence(组合篇3)
Number Sequence Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 34582   Accepted: 9929 Description A single positive integer i is given. Write a program to fin...
分类:其他好文   时间:2015-01-22 15:31:18    阅读次数:109
printsql.sql 打印对应spid或sid所对应的sql以及其执行计划
/*打印对应spid或sid所对应的sql以及其执行计划*/ CREATE OR REPLACE PROCEDURE PRINTSQL (i_n_idIN NUMBER, i_vc_idtypeIN VARCHAR2) IS /* 功能: 打印对应spid或sid所对应的sql以及其...
分类:数据库   时间:2015-01-22 15:07:48    阅读次数:273
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!