码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-09-13 20:00:25    阅读次数:195
各种网站和插件
1.在线笔记 note.sdo.com www.evernote.com 2.阅读器 feedly.com xianguo.com/reader 3.google分析 www.google.com/analytics/web/ 4.百度站长工具 zhanzhangbaidu.com/dashboard/index 5.免费申请域名 www.dot.tk ...
分类:Web程序   时间:2014-09-11 22:25:52    阅读次数:250
devStack
1,devstack shell 脚本开源官网http://devstack.org/脚本功能快速搭建 OpenStack 的运行和开发环境[Note tips by Ruiy devstack 不适合用在生产环境]devstack not appropriate for production de...
分类:其他好文   时间:2014-09-11 15:07:12    阅读次数:287
Leetcode--Subsets II
Problem Description: Given a collection of integers that might contain duplicates, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution se...
分类:其他好文   时间:2014-09-09 21:35:29    阅读次数:281
LeetCode Solutions : Reverse Linked List II
Reverse Linked List II  Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. Note...
分类:其他好文   时间:2014-09-09 18:23:49    阅读次数:222
Pascal's Triangle II <leetcode>
Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onlyO(...
分类:其他好文   时间:2014-09-09 15:07:48    阅读次数:167
归并排序
归并排序算法稳定,数组需要O(n)的额外空间,链表需要O(log(n))的额外空间,时间复杂度为O(nlog(n))NOTE:新数组的创建和数据拷贝是硬伤,我尝试了一下只申请一个workspace,应该还不错吧,没有理论论证代码: 1 package sorts; 2 3 import java.....
分类:其他好文   时间:2014-09-09 10:53:28    阅读次数:262
Minimum Path Sum <leetcode>
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:其他好文   时间:2014-09-07 11:00:24    阅读次数:213
Leetcode: Subsets II
Given a collection of integers that might contain duplicates, S, return all possible subsets.Note:Elements in a subset must be in non-descending order...
分类:其他好文   时间:2014-09-06 07:32:22    阅读次数:239
onAttachedToWindow () 和 onDetachedFromWindow () ; 以及更新视图的函数ondraw() 和dispatchdraw()的区别
protected voidonAttachedToWindow()This is called when the view is attached to a window. At this point it has a Surface and will start drawing. Note th...
分类:Windows程序   时间:2014-09-06 02:11:22    阅读次数:382
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!