码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
[LeetCode]9 Palindrome Number
https://oj.leetcode.com/problems/palindrome-number/http://fisherlei.blogspot.com/2012/12/leetcode-palindrome-number.htmlpublicclassSolution{ publicbooleanisPalindrome(intx){ //Assume //Negativenumberscannotbepalindrome if(x<0) returnfalse; //Noextrasp..
分类:其他好文   时间:2015-01-02 16:14:01    阅读次数:116
[LeetCode]17 Letter Combinations of a Phone Number
https://oj.leetcode.com/problems/letter-combinations-of-a-phone-number/http://fisherlei.blogspot.com/2012/12/leetcode-letter-combinations-of-phone.htmlpublicclassSolution{ publicList<String>letterCombinations(Stringdigits){ if(digits==null) returnnul..
分类:其他好文   时间:2015-01-02 16:13:14    阅读次数:134
JQuery中$.ajax()方法参数详解
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求超...
分类:Web程序   时间:2015-01-02 15:50:49    阅读次数:158
虚数的意义
虚数的意义作者:阮一峰有人在Stack Exchange问了一个问题: "我一直觉得虚数(imaginary number)很难懂。 中学老师说,虚数就是-1的平方根。 可是,什么数的平方等于-1呢?计算器直接显示出错! 直到今天,我也没有搞懂。谁能解释,虚数到底是什么? 它有什么用?...
分类:其他好文   时间:2015-01-02 12:12:34    阅读次数:192
[leetcode] 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 t...
分类:其他好文   时间:2015-01-02 10:55:22    阅读次数:120
使用 Codec Engine 的 API 函数
本文翻译自TI的手册,该手册是学习GPP+DSP开发的金典文档,希望对各位入门有所帮助,有理解不当之处望请赐教。 Codec Engine Application Developer User's Guide.pdf (Literature Number: SPRUE67D) 《Codec Engine 应用开发使用手册》           http://blog.csdn.net/dy...
分类:Windows程序   时间:2015-01-02 09:48:44    阅读次数:270
[ES6] 18. Map
ES6 provides Map, it is a set of k-v pair. Key can be number, string, object, function and even undefined.var m = new Map();Methods:1. set(k,v)m.set("...
分类:其他好文   时间:2015-01-02 06:29:26    阅读次数:167
[LeetCode]129.Sum Root to Leaf Numbers
【题目】 Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Fin...
分类:其他好文   时间:2015-01-01 22:33:42    阅读次数:208
判断身份证是否和性别相符
用处: 用于判断身份证是否和性别相符DECODE(MOD(TO_NUMBER(DECODE(Length(certno),15,SUBSTR(certno,15,1),18,SUBSTR(certno,17,1))),2),1,1,0,2) GENDERGENDER = 1 男
分类:其他好文   时间:2015-01-01 18:31:43    阅读次数:132
DB2 命令大全
check Archiving processing 查看日志归档情况 db2 "SELECT DATE(CAST(START_TIME as TIMESTAMP)) as DATE, count(*) as NUMBER_OF_LOGS_PER_DAY, (count(*)*23.4375) as...
分类:数据库   时间:2015-01-01 17:19:53    阅读次数:759
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!