【求最大深度】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 leaf node.
这里说的最大深度是指最深叶子节点到根节点的路径长度
...
分类:
其他好文 时间:
2014-09-24 16:09:37
阅读次数:
200
Building a Drop-Down Filter List for a DataGridView Column Header Cell参考:http://msdn.microsoft.com/zh-cn/library/aa480727(en-us).aspx1、引用DataGridViewA...
本文大多内容来自KindEditor官网,自己加工理解后做的一个备份。编辑器使用方法1. 下载编辑器下载 KindEditor 最新版本,下载之后打开 examples/index.html 就可以看到演示。下载页面:http://www.kindsoft.net/down.php2.部署编辑器解压...
分类:
Web程序 时间:
2014-09-23 13:29:04
阅读次数:
161
The kth great number
Xiao Ming and Xiao Bao are playing a simple Numbers game. In a round Xiao Ming can choose to write down a number, or ask Xiao Bao what the kth great number is. Because the numb...
分类:
其他好文 时间:
2014-09-22 19:12:13
阅读次数:
197
为了加强鼠标响应事件,Android提供了GestureDetector手势识别类。通过GestureDetector.OnGestureListener来获取当前被触发的操作手势(Single Tap Up、Show Press、Long Press、Scroll、Down、Fling),具体包括...
分类:
其他好文 时间:
2014-09-22 12:14:52
阅读次数:
250
Android基础(2)error:The connection to adb is down, and a severe error has occured....
分类:
移动开发 时间:
2014-09-21 22:23:11
阅读次数:
223
TableDefinition 的对象,就是我们在写 migrate 的时候使用的对象 t如下class SomeMigration "ActiveRecord::ConnectionAdapters::TableDefinition" end end def down ... ...
分类:
其他好文 时间:
2014-09-21 20:22:51
阅读次数:
198
创建 migration 需要继承自 ActiveRecord::Migration 类,常见如下:class SomeMigration < ActiveRecord::Migration def up end def down endendclass SomeMigration < ...
分类:
其他好文 时间:
2014-09-21 16:58:51
阅读次数:
211
Problem Description
You play a game with your friend. He draws several lines on the paper with n×m square grids (see the left figure). After that, he writes down the number of lines passing through...
分类:
其他好文 时间:
2014-09-21 02:54:39
阅读次数:
381
下载一个Windows6.1-KB917607-x64.msu补丁就可以了。根据系统 选中32位或64位系统补丁。装上即可。下载的地址第三方网站http://www.oyksoft.com/soft/11681.html64位官方:http://download.microsoft.com/down...