码迷,mamicode.com
首页 >  
搜索关键字:one    ( 27922个结果
leetcode--Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:其他好文   时间:2014-06-20 08:59:38    阅读次数:235
[leetcode]Merge k Sorted Lists @ Python
原题地址:https://oj.leetcode.com/problems/merge-k-sorted-lists/题意:Mergeksorted linked lists and return it as one sorted list. Analyze and describe its com...
分类:编程语言   时间:2014-06-11 21:57:07    阅读次数:399
javascript块级作用域
在c/java中,拥有块级作用域的概念,大括号内就是一个块级作用域,在块级作用域内声明的变量,块以外不可见。C语音的块级作用域示例如下:int one = 1,two = 2;if(one < two){ int temp = 0; temp = one; one = two; ...
分类:编程语言   时间:2014-06-11 12:33:38    阅读次数:258
[leetcode]Plus One @ Python
原题地址:https://oj.leetcode.com/problems/plus-one/题意:Given a non-negative number represented as an array of digits, plus one to the number.The digits are...
分类:编程语言   时间:2014-06-11 11:25:27    阅读次数:304
我的DOJO学习之路(三)-几个DEMO
基于DOJO组件式开发写了几个DEMO练练手,仅供参考。 1.下滑菜单式容器 one fish one fish one fish one fish one fish one fish one fish ...
分类:其他好文   时间:2014-06-11 09:14:16    阅读次数:215
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
一入python深似海--split
下面说说split函数的用法 def break_words(stuff): """This function will break up words for us.""" words = stuff.split(' ')#split('.',1) use '.' split one time return words def sort_words(wo...
分类:编程语言   时间:2014-06-08 18:19:21    阅读次数:336
Android自定义View(一)
一、自定义视图类继承View或者View的子类 All of the view classes defined in the Android framework extend View. Your custom view can also extend Viewdirectly, or you can save time by extending one of the exist...
分类:移动开发   时间:2014-06-08 10:11:27    阅读次数:342
【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
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
迷上了代码!