码迷,mamicode.com
首页 >  
搜索关键字:the xor-longest path    ( 29635个结果
Leetcode: Letter Combinations of a Phone Number
像这种DFS的题目,常见的写法无外乎两种,使用recursion, 或者用Stack。本文采用了stack的方式。做完后积累的经验有:像这种在一个ArrayList里面罗列可能的path的题目,recursion的参数一般包括:包含最终结果的集合(ArrayList),input(String),递...
分类:其他好文   时间:2014-06-13 08:34:10    阅读次数:220
CAShapeLayer的使用[2]
CAShapeLayer的使用[2]CAShapeLayer支持的动画类型有如下这些.------------------------------------------------------------------------------/* The path defining the shap...
分类:其他好文   时间:2014-06-13 08:13:54    阅读次数:378
eclipse 导入项目js报错问题
eclipse 导入项目js报错问题eclipse 导入项目后会出现项目中的js文件报错(红叉),如下图所示,有时候报错的文件很多,需要集中处理。解决办法:右键项目名称》Properties》JavaScript》Include Path,在右侧选择“Source”选项卡,然后选择项目中的“Excl...
分类:Web程序   时间:2014-06-12 23:36:38    阅读次数:397
Linux下常用SVN命令
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
[LeetCode] Maximum Depth of Binary Tree
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
windows7 32位安装easy_intall
前提条件安装完python(我安装的是2.7版本)安装完python后,把目录加入到环境变量setPATH=%PATH%;C:\Python27https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py打开这个页面后复制全部内容到本地目录,保存为easy_instll.py文件进行easy_install模块的安装安装..
分类:Windows程序   时间:2014-06-10 23:54:37    阅读次数:436
python2.7.5 +eric4.4.2+PyQt4-4.10.3-gpl-Py2.7-Qt4.8.5-x32.exe
1.安装python 双击运行就可以了当安装好了Pyhon,记得要配置环境变量,把C:\Python27添加到PATH中2.安装pyqt默认安装就可以3.把eric4.4.2拷贝到C:\目录下,点击eric4.4.2中的install.py文件进行安装。4.Pythonw配置:您可以通过点击安装目录...
分类:编程语言   时间:2014-06-10 20:15:47    阅读次数:268
【python】文件的输入和输出
1.os模块2.os.path 模块3.实例1. os模块 对文件系统的访问大多通过python的os模块实现,其中os 模块负责大部分的文件系统操作,包括删除/重命名文件,遍历目录树,管理文件访问权限等。 2.os.path 模块,os.path完成一些针对路径名的操作,包括管理和操作文件路径名中...
分类:编程语言   时间:2014-06-10 12:38:22    阅读次数:488
Leetcode OJ: Binary Tree Maximum Path Sum
Binary Tree Maximum Path SumGiven a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the be...
分类:其他好文   时间:2014-06-10 10:42:58    阅读次数:203
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!