控制显示区域各种属性: width - viewport的宽度height – viewport的高度initial-scale - 初始的缩放比例minimum-scale - 允许用户缩放到的最小比例maximum-scale – 允许用户缩放...
分类:
移动开发 时间:
2015-10-07 16:00:18
阅读次数:
207
最大子数组分析O(n)对于一个数组,数组中有正有负,求最大子数组1, 该数组只可能从一个正数开始2, 在从这个元素p1挨个求和,记录这个过程中的最大和3, 如果这个和加到元素n1等于0了,那么整个数组的最大子数组和,要么就是上面中出现过的最大和,要么就在此n1之后的子数组中,不可能是从p1到n1之间...
分类:
其他好文 时间:
2015-10-07 12:08:36
阅读次数:
186
题目: 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 lo...
分类:
其他好文 时间:
2015-10-06 22:12:48
阅读次数:
479
题目: Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longe....
分类:
其他好文 时间:
2015-10-04 17:09:04
阅读次数:
165
Given a binary tree, find the maximum path sum.For this problem, a path is defined as any sequence of nodes from some starting node to any node in the...
分类:
其他好文 时间:
2015-10-04 12:18:38
阅读次数:
101
通信术语 最大传输单元(Maximum Transmission Unit,MTU)是指一种通信协议的某一层上面所能通过的最大数据包大小(以字节为单位)。最大传输单元这个参数通常与通信接口有关(网络接口卡、串口等)。原理说明因为协议数据单元的包头和包尾的长度是固定的,MTU越大,则一个协议数据单元的...
分类:
其他好文 时间:
2015-10-02 19:51:38
阅读次数:
272
[Problem]Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique l...
分类:
其他好文 时间:
2015-10-02 00:11:38
阅读次数:
194
【CompletionPort】1、CreateIoCompletionPort。此方法用于创建与绑定。 CompletionKey是自定义数据,用于区分FileHandle。 NumberOfConcurrentThreads[in] The maximum number of thre...
分类:
其他好文 时间:
2015-10-01 11:38:20
阅读次数:
130
题目:Binary Tree Maximum Path SumGiven a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the...
分类:
其他好文 时间:
2015-09-30 00:51:34
阅读次数:
181
Given a sequence ofKintegers {N?1??,N?2??, ...,N?K??}. A continuous subsequence is defined to be {N?i??,N?i+1??, ...,N?j??} where1≤i≤j≤K. The Maximum ...
分类:
其他好文 时间:
2015-09-29 18:36:52
阅读次数:
114