码迷,mamicode.com
首页 >  
搜索关键字:add two numbers    ( 52886个结果
关于如何查看android-support-v4.jar源码
刚刚在学习ViewPager的使用,于是想要观看它的源码。上网找了很多资料大概步骤如下1: 找到libs/android-support-v4.jar,对其Build Path-add toBuild Path2:Java Build Path-Libraries android-support-v...
分类:移动开发   时间:2014-05-27 03:05:40    阅读次数:291
【LeetCode】Permutations
Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:其他好文   时间:2014-05-27 02:42:35    阅读次数:202
apache http client vs urlconnection
Google has deprecated HttpClientChoose an HTTP ClientMost network-connected Android apps use HTTP to send and receive data. Android includes two HTTP ...
分类:其他好文   时间:2014-05-27 01:12:43    阅读次数:343
Orchard 刨析:Caching
关于Orchard中的Caching组件已经有一些文章做了介绍,为了系列的完整性会再次对Caching组件进行一次介绍。 缓存的使用 在Orchard看到如下一段代码: 可以看到使用缓存的方法Get而看不到以前常见的缓存方法:Add\Set\Remove,是不是很神奇。 其实也不是那么的神奇,Get...
分类:其他好文   时间:2014-05-24 05:09:23    阅读次数:398
Multiplication of numbers
Questin:There is an array A[N] of N numbers. You have to compose an array Output[N] such that Output[i] will be equal to multiplication of all the ele...
分类:其他好文   时间:2014-05-23 23:48:14    阅读次数:429
Kali安装jdk8
sudo add-apt-repository ppa:webupd8team/javavi /etc/apt/sources.list.d/webupd8team-java-wheezy.listdeb http://ppa.launchpad.net/webupd8team/java/ubunt...
分类:其他好文   时间:2014-05-23 12:48:58    阅读次数:1311
LeetCode OJ - Same Tree
题目:Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical...
分类:其他好文   时间:2014-05-23 12:40:21    阅读次数:352
LeetCode OJ - Recover Binary Search Tree
题目:Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space ...
分类:其他好文   时间:2014-05-23 11:31:51    阅读次数:299
Leetcode:Add Binary
戳我去解题Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".分析:高精度加法,只是将10进制的高精度加法 换成了 2进制的高精度加法首先将 两个...
分类:其他好文   时间:2014-05-20 11:21:52    阅读次数:224
ZXing for Android 修改为竖屏模式
zxing github连接:https://github.com/zxing/zxing以下为修改方法Step 1: Add following lines to rotate data beforebuildLuminanceSource(..)indecode(byte[] data, int...
分类:移动开发   时间:2014-05-19 12:06:40    阅读次数:629
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!