像这种DFS的题目,常见的写法无外乎两种,使用recursion,
或者用Stack。本文采用了stack的方式。做完后积累的经验有:像这种在一个ArrayList里面罗列可能的path的题目,recursion的参数一般包括:包含最终结果的集合(ArrayList),input(String),递...
分类:
其他好文 时间:
2014-06-13 08:34:10
阅读次数:
220
CAShapeLayer的使用[2]CAShapeLayer支持的动画类型有如下这些.------------------------------------------------------------------------------/*
The path defining the shap...
分类:
其他好文 时间:
2014-06-13 08:13:54
阅读次数:
378
eclipse 导入项目js报错问题eclipse
导入项目后会出现项目中的js文件报错(红叉),如下图所示,有时候报错的文件很多,需要集中处理。解决办法:右键项目名称》Properties》JavaScript》Include
Path,在右侧选择“Source”选项卡,然后选择项目中的“Excl...
分类:
Web程序 时间:
2014-06-12 23:36:38
阅读次数:
397
1、将文件checkout到本地目录svn checkout
path(path是服务器上的目录)例如:svn checkout svn://192.168.1.1/pro/domain --username
qinxiaohui简写:svn co2、往版本库中添加新的文件svn add file例...
分类:
系统相关 时间:
2014-06-12 21:41:45
阅读次数:
448
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-06-12 18:32:00
阅读次数:
222
Environment variable: "PATH" - This test checks
whether the length of the environment variable "PATH" does not exceed the
recommended length.预期值:1023实...
分类:
数据库 时间:
2014-06-12 17:25:20
阅读次数:
633
1. 资源共享的应用限制在同一个module里 这样 综合工具才能最大限度地发挥其资源共 享综合作用
2. 尽可能将Critical path上所有相关逻辑放在同一个module里 这样 综合工具能够发挥其 最佳综合效果 3. Critical path
所在的module与其它module分别综合...
分类:
其他好文 时间:
2014-06-12 16:10:24
阅读次数:
227