一天一道LeetCode
本系列文章已全部上传至我的github,地址:ZeeCoder‘s Github
欢迎大家关注我的新浪微博,我的新浪微博
欢迎转载,转载请注明出处
(一)题目
Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given...
分类:
其他好文 时间:
2016-07-03 19:38:48
阅读次数:
117
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space ...
分类:
编程语言 时间:
2016-07-03 11:53:49
阅读次数:
159
1、工程路径设置(Search Paths) Header Search Paths:$(SRCROOT)\include Library Search Paths:$(SRCROOT)\lib $(SRCROOT)宏和$(PROJECT_DIR)宏都指xxx.xcodeproj所在的目录。 ...
分类:
其他好文 时间:
2016-06-30 23:07:56
阅读次数:
102
##1.选择target(就是左边你的工程target)—— BuildSettings —— search Paths 下的 User Header Search Paths(如图所示: ##2.双击后面的空白区域:(如图所示:) ##3.点击“+”号添加一项:并且输入:“$(SRCROOT)/f ...
分类:
其他好文 时间:
2016-06-29 20:23:35
阅读次数:
135
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p ...
分类:
编程语言 时间:
2016-06-25 17:43:33
阅读次数:
152
Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: All root-to-leaf paths are: Credits:Special thanks t ...
分类:
编程语言 时间:
2016-06-24 19:04:12
阅读次数:
127
1 java8读取文本文件 2 3 4 public static void java8ReadFileLines(String fileName) throws IOException { 5 List lineList = Files.readAllLines(Paths.get(fileNam ...
分类:
编程语言 时间:
2016-06-24 10:32:04
阅读次数:
203
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p ...
分类:
其他好文 时间:
2016-06-23 00:49:54
阅读次数:
147
search Paths $(SRCROOT)和$(PROJECT_DIR)区别,srcrootproject_dir $(SRCROOT)代表的时项目根目录下 $(PROJECT_DIR)代表的是整个项目 PS:往项目添加文件时,例如.a等,要先showinfinder ,复制到项目中,然后再拖到 ...
分类:
其他好文 时间:
2016-06-22 22:06:35
阅读次数:
158