看了下scala future的官方文档,融合了自己的理解整理在这里,例子全部来自官方文档:http://docs.scala-lang.org/overviews/core/futures.html
future represents a result of an async method, would could due to long time-consuming operat...
分类:
其他好文 时间:
2015-06-20 17:10:00
阅读次数:
255
题目链接 题目要求: Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells...
分类:
其他好文 时间:
2015-06-20 17:04:20
阅读次数:
111
Description: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 t...
分类:
其他好文 时间:
2015-06-20 16:56:15
阅读次数:
113
Description:Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous s...
分类:
其他好文 时间:
2015-06-20 16:53:04
阅读次数:
79
Eclipse 安装了ndk插件之后,可以通过安卓应用调用c/c++写的代码,但是当我打开.c文件时,系统报错: Method NewStringUTF() could not be resolved
解决方法如图所示:
然后重新clean,编译,运行工程,问题解决~~~~...
分类:
系统相关 时间:
2015-06-20 15:44:26
阅读次数:
192
Single Number II
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you...
分类:
其他好文 时间:
2015-06-19 15:22:12
阅读次数:
116
Could not reserve enough space for object heap解决办法 Centos6.4 jdk1.6
分类:
其他好文 时间:
2015-06-19 15:09:09
阅读次数:
226
java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccesso...
分类:
移动开发 时间:
2015-06-19 06:40:32
阅读次数:
169
此问题折驣了很久,还是Stackoverflow!!请参考如下URL:http://stackoverflow.com/questions/16589585/android-studio-error-could-not-create-the-java-virtual-machine
分类:
移动开发 时间:
2015-06-18 20:20:19
阅读次数:
221
Single Number
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it ...
分类:
其他好文 时间:
2015-06-18 17:26:45
阅读次数:
93