一、XDebug安装配置 (1)下载XDebug下载地址:http://www.xdebug.org/必须下载跟机器上安装的php匹配的版本才行。具体下载方法如下:将phpinfo网页的源代码拷贝到http://www.xdebug.org/find-binary.php,然后按照指导安装即可。如下 ...
分类:
Web程序 时间:
2017-05-02 13:47:09
阅读次数:
233
(一)文件和注册表 对于文件系统操作,相关的类几乎都在System.IO名称空间中,而注册表操作由System.Win32名称空间中的类来处理。 (二)管理文件系统 System.MarshalByRefObject——这是.NET类中用于远程操作的基对象类,它允许在应用程序域之间编组数据。 Fil ...
You need to construct a binary tree from a string consisting of parenthesis and integers. The whole input represents a binary tree. It contains an int ...
分类:
其他好文 时间:
2017-05-02 10:08:08
阅读次数:
180
Important point: 1) While (start + 1 < end) 2) int mid = start + (end - start)/2;3) check both nums[start] and nums[end] at the end ...
分类:
其他好文 时间:
2017-05-02 09:55:38
阅读次数:
191
首先,我们回顾一下二叉查找树(binary search tree, BST)。 二叉查找树具有下列性质: BST 的插入 首先执行查找算法,找出被插结点的父亲结点。 若 key 值比当前结点小,则进入左儿子。 若 key 值比当前结点大,则进入右儿子。 最坏情况下,当先后插入的关键字有序时,二叉查 ...
分类:
其他好文 时间:
2017-05-01 22:27:45
阅读次数:
309
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and su ...
分类:
其他好文 时间:
2017-05-01 19:45:25
阅读次数:
140
思路还是很明了的,不知道为啥就是过不去了。 看了一个别人的 ...
分类:
其他好文 时间:
2017-05-01 18:19:51
阅读次数:
209
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. F ...
分类:
其他好文 时间:
2017-05-01 13:41:01
阅读次数:
116
Given a binary tree, return the tilt of the whole tree. The tilt of a tree node is defined as the absolute difference between the sum of all left subt ...
分类:
其他好文 时间:
2017-05-01 13:36:21
阅读次数:
168
Maximal Square Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. For example, given th ...
分类:
其他好文 时间:
2017-05-01 12:49:55
阅读次数:
199