You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-06-28 10:45:34
阅读次数:
225
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-06-26 00:29:49
阅读次数:
168
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-06-25 23:01:44
阅读次数:
227
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-25 22:07:58
阅读次数:
330
对于函数式语言来说,函数也想普通的数据类型一样无处不在。函数即可以当成参数进行传递,也可以当成函数的返回值。当我第一次学习函数式编程的时候,我被这样的写法弄的头昏脑涨。下面我举例说明下(例子摘录自Learn You Some Erlang): 假如你想对一个列表中的所有值都进行加1或减1的操作...
分类:
其他好文 时间:
2014-06-25 21:50:31
阅读次数:
244
Toast can show the help/prompts to user. There have five effect of toast as bellow:
1.default effect:
code:
Toast.makeText(getApplicationContext(), "默认Toast样式",
Toast.LENGTH_SHORT).sho...
分类:
移动开发 时间:
2014-06-22 11:35:38
阅读次数:
500
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:
其他好文 时间:
2014-06-22 10:45:17
阅读次数:
258
The android provide two types of animation.Tween Animation is one,such as rotation,translation,scale,gradual change(gradient).
main types:
Animation、AlphaAnimation、RotateAnimation、ScaleAnimation...
分类:
移动开发 时间:
2014-06-22 08:29:06
阅读次数:
239
Inflate() method can find out a layout defined by xml,as like the findViewById() method,but there have some different between them.
The different are:
If your Activity used other layout,such as...
分类:
移动开发 时间:
2014-06-22 06:41:43
阅读次数:
362
????用hibernate访问sybase时遇见的异常。
Could not obtain connection metadata : ASE is now using a multi-byte character set, and the TEXT character counts have not been re-calculated using this character set ...
分类:
系统相关 时间:
2014-06-22 06:19:49
阅读次数:
1188