码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
Merge Sorted Array
Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that i...
分类:其他好文   时间:2014-11-08 16:28:21    阅读次数:191
【LeetCode]Binary Tree Preorder Traversal
题意: Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,2,3]. Note: Recursive solution is trivial, could you do it iteratively?...
分类:其他好文   时间:2014-11-08 13:41:21    阅读次数:155
android widget 开发实例 : 桌面便签程序的实现具体解释和源代码 (上)
如有错漏请不吝拍砖指正,转载请注明出处,很感谢 桌面便签软件是android上经常使用软件的一种,比方比較早的Sticky Note,就曾很流行,Sticky Note的介绍能够參见 http://www.tompda.com/c/article/11778/而实际上使用android平台对widg...
分类:移动开发   时间:2014-11-08 13:22:45    阅读次数:305
Leetcode-Pascal's Triangle II
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3,Return [1,3,3,1].Note:Could you optimize your algorithm to use...
分类:其他好文   时间:2014-11-08 10:26:18    阅读次数:173
Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-11-08 00:46:40    阅读次数:131
Android传感器Check小Demo
昨晚写了个关于Sensor的很简单的Demo,就是Check一下手机或者平板有没有所检测的传感器。由于今天一直在忙,现在才总结一下。 先看下运行截图: 三星Note 3: 三星GT-N8000: 下面是代码: package com.example.sensorcheck; import android.app.Activity; import andr...
分类:移动开发   时间:2014-11-06 22:07:45    阅读次数:1077
Pascal's Triangle II
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-11-06 16:41:45    阅读次数:165
LeetCode[string]: Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. Note: A word is defin...
分类:其他好文   时间:2014-11-06 14:57:52    阅读次数:150
<转>凯文·凯利斯坦福演讲-预言未来20年科技潮流
Note:未来全部的生意都是关于数据的生意,近场通信、自组网介入网络、人工智能...,如今的IT科技界是否仅仅是冰山一角、斑斓舞台帷幕的一丝缝隙?原文出处:中欧管理工商学院欢迎分享原创到伯乐头条近日,硅谷精神教父、科技商业预言家凯文·凯利在斯坦福大学,为来自中欧国际工商学院的 20 多位学员进行了长...
分类:其他好文   时间:2014-11-06 12:38:17    阅读次数:240
angular.extend深拷贝(deep copy)
在用到angular.extend的时候,正好碰到一个对象,是层层嵌套的Array, 结果发现只能extend第一层,查阅官文档,确实不支持deep copy:Note: Keep in mind that angular.extend does not support recursive merg...
分类:其他好文   时间:2014-11-05 19:02:56    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!