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-09-13 20:08:35
阅读次数:
179
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [?2,1,?3,4,?1,2,1...
分类:
其他好文 时间:
2014-09-12 14:45:53
阅读次数:
213
首先my sql有个配置文件 my.ini,该文件在mysql的安装包中。1.在该文件中可以设置mysql的最大连接数,# The maximum amount of concurrent sessions the MySQL server will# allow. One of these con...
分类:
数据库 时间:
2014-09-11 16:43:02
阅读次数:
261
Given a graph G(V, E), a clique is a sub-graph g(v, e), so that for all vertex pairs v1, v2 in v, there exists an edge (v1, v2) in e. Maximum clique is the clique that has maximum number of
vertex.
...
分类:
其他好文 时间:
2014-09-11 08:47:58
阅读次数:
260
做Web开发时经常涉及到页面之间的转跳,页面之间的转跳就会涉及到页面之间参数的传递,通过URL传递参数是常用的方法之一,但是微软 说:"Maximum URL length is 2,083 characters in Internet Explorer",...
分类:
其他好文 时间:
2014-09-10 12:50:40
阅读次数:
219
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.对每个点,考察其他点与它组成的直线斜率,使用HashMap将斜率与点个数对应起来。需要注意的一点是特殊斜率...
分类:
编程语言 时间:
2014-09-10 12:25:00
阅读次数:
174
下面是手机网页的一些认识initial-scale - 初始的缩放比例 minimum-scale - 允许用户缩放到的最小比例 maximum-scale - 允许用户缩放到的最大比例 user-scalable - 用户是否可以手动缩放media="(device-height: 568...
分类:
移动开发 时间:
2014-09-09 19:49:59
阅读次数:
260
[leetcode]Maximum Subarray...
分类:
其他好文 时间:
2014-09-09 12:38:08
阅读次数:
137
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:
其他好文 时间:
2014-09-09 12:14:08
阅读次数:
200
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-09-09 10:44:48
阅读次数:
132