码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
手机页面尺寸设置(二)
通用Meta定义1.(1)强制让文档与设备的宽度保持1:1;(2)文档最大的宽度比列是1.0(initial-scale初始刻度值和maximum-scale最大刻度值);(3)user-scalable定义是否可缩放(0为不缩放),使页面固定设备上面的大小。下图分别是没有定义viewport和定义...
分类:移动开发   时间:2014-12-25 12:59:38    阅读次数:603
MAXIMUM GAP
MAXIMUM GAP的解题算法...
分类:其他好文   时间:2014-12-25 11:25:32    阅读次数:337
LintCode-Maximum Subarray III
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
LintCode-Maximum Subarray II
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
[leetcode] Longest Palindromic Substring
题目:(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
leetcode:Best Time to Buy and Sell Stock II
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
Binary Tree Maximum Path Sum 解题注意
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
[LeetCode]Binary Tree Maximum Path Sum
【题目】 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
【LeetCode】Longest Palindromic Substring
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
leetcode——Maximum Gap
想了一晚上没想明白,上网搜了别人的答案。。。研究了好几个晚上才觉得有点明悟了。。。 下面是详细思考的过程:(参考答案) class Solution { public: // 用桶排序 // 算出相邻两个桶之间的最大差值 // 如果是平均分布,则桶的数目和元素的数目相同时,其排序的时间复杂度是0(n...
分类:其他好文   时间:2014-12-22 22:45:04    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!