https://oj.leetcode.com/problems/word-break/http://blog.csdn.net/linhuanmars/article/details/22358863publicclassSolution{
publicbooleanwordBreak(Strings,Set<String>dict)
{
s="#"+s;//Addadummychar
intlen=s.length();
boolean[]poss=newboolean[len];
poss..
分类:
其他好文 时间:
2015-01-08 18:15:49
阅读次数:
104
https://oj.leetcode.com/problems/single-number-ii/http://blog.csdn.net/linhuanmars/article/details/22645599publicclassSolution{
publicintsingleNumber(int[]A){
returnsingleNumber_BitCompare(A,3);
}
privateintsingleNumber_BitCompare(int[]A,intk)
{
inttoRetur..
分类:
其他好文 时间:
2015-01-08 18:15:42
阅读次数:
200
https://oj.leetcode.com/problems/copy-list-with-random-pointer/http://blog.csdn.net/linhuanmars/article/details/22463599/**
*Definitionforsingly-linkedlistwitharandompointer.
*classRandomListNode{
*intlabel;
*RandomListNodenext,random;
*RandomListNode(intx)..
分类:
其他好文 时间:
2015-01-08 18:15:38
阅读次数:
106
http://blog.csdn.net/klx502/article/details/40617497
该链接已经说明如何从命令行创建一个phonegap项目了
这次的主题是基于上一遍【PhoneGap学习笔记-----phone3.4之Android搭建】延伸出来的
创建项目:
2.为创建的目录添加平台支持:
3.build 这个项目,之后就可以在Ecl...
分类:
移动开发 时间:
2015-01-08 18:15:31
阅读次数:
219
转自 http://blog.csdn.net/swingpyzf/article/details/15185767objective-c通过使用NSFileManager类来管理和操作文件、目录,NSFileManager,文件或目录是使用文件的路径名的唯一标示。每个路径名都是一个NSString...
分类:
移动开发 时间:
2015-01-08 17:31:08
阅读次数:
273
可以使用一些常见的工具辅助进行测试,如monkey、monkeyrunner、Appium等。Android自动测试之Monkey工具:http://blog.csdn.net/xyz_lmn/article/details/6899756Android自动测试之MonkeyRunner介绍: ht...
分类:
移动开发 时间:
2015-01-08 17:22:38
阅读次数:
279
本文参考:http://blog.csdn.net/amy0428/article/details/7057282Android下,如何进行内存泄露的测试,除了长时间运行的间接测试,有没有工具帮助我们进行这方面测试呢?首先,安装 MAT和其他插件的安装非常类似,MAT 支持两种安装方式,一种是“单机...
分类:
移动开发 时间:
2015-01-08 17:17:37
阅读次数:
167
原文链接http://blog.csdn.net/nodeathphoenix/article/details/7684230Android build/core下的编译脚本里会用到变量NDK_ROOT和NDK_PROJECT_PATH。但是这两个变量你都不是必须显式地设置对应环境变量。因为如果没有...
分类:
移动开发 时间:
2015-01-08 17:14:22
阅读次数:
239
In this article we'll address the people swirling around your project: stakeholders. You'll find some tips and other resources for optimising stakehol...
分类:
其他好文 时间:
2015-01-08 17:09:01
阅读次数:
169
https://oj.leetcode.com/problems/palindrome-partitioning/http://blog.csdn.net/linhuanmars/article/details/22777711publicclassSolution{
publicList<List<String>>partition(Strings){
//NP
List<List<String>>result=newArrayList<>()..
分类:
其他好文 时间:
2015-01-08 15:30:19
阅读次数:
111