码迷,mamicode.com
首页 >  
搜索关键字:largest number    ( 27910个结果
angular学习笔记(十一)
本篇只要介绍angular表达式:在之前的例子中,我们多半是直接把数据作为angular标识符的值,但其实可以使用表达式来做更多的事情:比如:{{number}}也可以是:{{number+10}} (将数据进行简单的运算)也可以是: {{someFun()/10}} (调用方法得到结果,同时经过简...
分类:其他好文   时间:2014-05-12 12:50:36    阅读次数:277
Leetcode | Distinct Subsequences
Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which is formed from th...
分类:其他好文   时间:2014-05-12 09:37:51    阅读次数:287
js isArray小结
原文:[转载]js isArray小结在日常开发中,我们经常需要判断某个对象是否是数组类型的,在js中检测对象类型的常见的方法有几种: 1、typeof操作符。对于Function、String、Number、Undefined这几种类型的对象来说,不会有什么问题,但是针对Array的对象就没什么用...
分类:Web程序   时间:2014-05-12 07:42:50    阅读次数:468
Distinct Subsequences
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...
分类:其他好文   时间:2014-05-10 19:10:58    阅读次数:389
Bad version number in .class file
---恢复内容开始---MyEclipse启动tomcat出现Bad version number in .class file此错误时,可以用如下方法解决:找到MyEclipse的菜单,找到Window->Preferences,然后如下图操作,Add添加jdk安装的目录,并选择jre6为默认的环...
分类:其他好文   时间:2014-05-10 06:29:04    阅读次数:311
数据类型以及相互转化
《一》数据类型(typeof)获取数据的类型;例如 var a=12; alert(typeof a);弹出的 是 Number;1. 数值number 例如 var = 12,此时变量便是一个数值2. 字符串string 例如 var a = "abc";此时数据类型便是 字符串3 对象 obje...
分类:其他好文   时间:2014-05-10 06:05:09    阅读次数:263
[leetcode]Single Number @ Python
原题地址:http://www.cnblogs.com/x1957/p/3373994.html题意:Given an array of integers, every element appearstwiceexcept for one. Find that single one.要求:线性时间复...
分类:编程语言   时间:2014-05-10 05:22:27    阅读次数:408
n进制转为十进制
主程序代码 - 1 #include 2 #include 3 main() 4 { 5 long t1; 6 int i, n, t, t3; 7 char a[100]; 8 printf("please input a number string:\n");...
分类:其他好文   时间:2014-05-10 03:10:56    阅读次数:269
[leetcode]Single Number II @ Python
原题地址:http://oj.leetcode.com/problems/single-number-ii/题意:Given an array of integers, every element appearsthreetimes except for one. Find that single ...
分类:编程语言   时间:2014-05-10 03:01:41    阅读次数:413
leetcode第一刷_Largest Rectangle in Histogram
很难的问题,数组线性时间。 属于我之前说的解法的借助辅助空间。给定两个柱子,他们之间的面积由什么确定呢?没错,他们之间的距离和他们之间最矮的那个柱子的高度。我们并不知道这个柱子在什么位置,所以...
分类:其他好文   时间:2014-05-09 22:57:18    阅读次数:404
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!