题目
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
方法
题目中是找出所有的字符串由相同的字符组成,只是顺序不同。
public List anagrams(St...
分类:
其他好文 时间:
2014-06-19 10:46:45
阅读次数:
207
In recent years,mobile platform become more and more popular!At present,the flourishing mobile platform are iOS and Android,symbian has been declining,wp7 struggling!
Note that Android is an open,not...
分类:
移动开发 时间:
2014-06-16 12:26:35
阅读次数:
288
到http://www.android.com/filetransfer/
下androidfiletransfer.dmg文件,安装好这个软件,然后再连接usb就可以用这个软件管理手机内存卡和sd卡的文件了如图:
分类:
移动开发 时间:
2014-06-16 08:36:17
阅读次数:
275
红米note到货后,打开USB调试模式是一些新手很棘手的问题,所以要手机助手成功识别红米note,你必须打开红米note的USB调试模式。在安卓4.2版本中,系统的USB调试模式不是非常简单地被打开的。红米note采用的就是基于安卓4.2及以上的MIUI操作系统。方法/步骤1.在红米note界面中,...
分类:
其他好文 时间:
2014-06-16 07:51:36
阅读次数:
208
setTimeout 比 setInterval 性能更好//
取代setIntervalsetTimeout(function self () { // code goes here setTimeout(self,
interval);}, interval);对异步执行的大...
分类:
编程语言 时间:
2014-06-16 07:48:21
阅读次数:
307
//点击其他地方,键盘收起- (void)touchesEnded:(NSSet *)touches
withEvent:(UIEvent *)event{ [super touchesEnded:touches withEvent:event];
[self.viewendEditing:YE.....
分类:
其他好文 时间:
2014-06-16 06:58:58
阅读次数:
163
【Objects & Class】1、定义一个类。
上述代码中,numberOfSides是实例变量,simpleDescription也是实例方法。2、创建实例,使用实例。
3、init是构造函数,deinit是析构函数: 上图代码中使用self来引用成员变量是为了与局部变量name...
分类:
其他好文 时间:
2014-06-16 00:52:51
阅读次数:
171
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [3,2,1].
Note: Recursive solut...
分类:
其他好文 时间:
2014-06-15 19:06:52
阅读次数:
166
题目
Given two numbers represented as strings, return multiplication of the numbers as a string.
Note: The numbers can be arbitrarily large and are non-negative.
方法
将num1与0-9相乘的结果存...
分类:
其他好文 时间:
2014-06-14 06:08:30
阅读次数:
229
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-06-13 20:36:56
阅读次数:
280