这道题因为不仔细的缘故两次过,与Maximum Depth of Binary
Tree问题类似,区别在于这个问题中,如果一个节点左子树为空、右子树有值,则该节点的深度应取决于右子树,而不能直接取min{左,右} 1 /** 2 *
Definition for binary tree 3 * .....
分类:
其他好文 时间:
2014-05-10 01:40:13
阅读次数:
293
descdesc select * from legou_home_product_on
查看是否被索引;desc legou_home_product_on 查看表定义修改表名ALTER TABLE emp RENAME
emp2修改字段名MYSQL里修改字段名的...
分类:
数据库 时间:
2014-05-09 12:30:34
阅读次数:
375
原文来自龙博方案网http://www.fanganwang.com/product/1362转载请注明出处Add-in Express for
Internet Explore 是第一个适用于开发 IE 附件的可视化工具. 它完全支持IE 扩展 API控件,并且使得 add-on 开发和配置更方便...
分类:
Web程序 时间:
2014-05-09 11:17:14
阅读次数:
507
原文来自龙博方案网http://www.fanganwang.com/product/3085转载请注明出处读写任何单元值数字型、字符型、布尔型以及错误型。但是你了解日期和时间型单元吗?在Excel中没有这样的单元。Excel是和Delphi一样的方式来存储日期和时间的,即浮点型。那是什么制造了日期...
分类:
移动开发 时间:
2014-05-08 19:55:30
阅读次数:
511
Given a binary tree, find the maximum path
sum.The path may start and end at any node in the tree.For example:Given the
below binary tree, 1 ...
分类:
其他好文 时间:
2014-05-07 09:36:09
阅读次数:
300
当使用移动设备进行触控操作时,最常用的就是轻击、按住屏幕或者手势操作,jQuery Mobile可以通过绑定的触控事件来响应使用者的特定触控行为。一、轻击与按住直接上代码(一切皆在代码中,细细品吧!)
练习
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1....
分类:
移动开发 时间:
2014-05-07 04:45:59
阅读次数:
426
为了方便说明和更加直观的展示jquerymobile的页面初始化过程以及各个事件的触发过程,我绘制了一幅流程图:图中用红色框圈起来的是界面中的事件,测试代码如下:
练习
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=0;...
分类:
移动开发 时间:
2014-05-07 04:40:07
阅读次数:
450
1、
??
Candy
There are N children standing in a line. Each child is assigned a rating value.
You are giving candies to these children subjected to the following requirements:
Each child must h...
分类:
其他好文 时间:
2014-05-06 22:41:02
阅读次数:
427