content属性值 : width:可视区域的宽度,值可为数字或关键词device-width height:同width intial-scale:页面首次被显示是可视区域的缩放级别,取值1.0则页面按实际尺寸显示,无任何缩放 maximum-scale=1.0, minimum-sca...
分类:
Web程序 时间:
2014-12-25 17:47:59
阅读次数:
173
通用Meta定义1.(1)强制让文档与设备的宽度保持1:1;(2)文档最大的宽度比列是1.0(initial-scale初始刻度值和maximum-scale最大刻度值);(3)user-scalable定义是否可缩放(0为不缩放),使页面固定设备上面的大小。下图分别是没有定义viewport和定义...
分类:
移动开发 时间:
2014-12-25 12:59:38
阅读次数:
603
Given an array of integers and a number k, find k non-overlapping subarrays which have the largest sum.The number in each subarray should be contiguou...
分类:
其他好文 时间:
2014-12-25 09:55:31
阅读次数:
235
Given an array of integers, find two non-overlapping subarrays which have the largest sum.The number in each subarray should be contiguous.Return the ...
分类:
其他好文 时间:
2014-12-25 08:44:08
阅读次数:
232
题目:(String)Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique...
分类:
其他好文 时间:
2014-12-25 06:34:06
阅读次数:
198
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2014-12-24 11:20:46
阅读次数:
184
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/ \2 3Ret...
分类:
其他好文 时间:
2014-12-24 07:35:49
阅读次数:
227
【题目】
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
/ 2 3
Re...
分类:
其他好文 时间:
2014-12-23 22:41:29
阅读次数:
257
Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there...
分类:
其他好文 时间:
2014-12-23 00:07:39
阅读次数:
142