码迷,mamicode.com
首页 >  
搜索关键字:maximum repetition s    ( 4177个结果
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 ...
分类:其他好文   时间:2014-07-10 11:24:15    阅读次数:229
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-06-30 13:21:00    阅读次数:202
TCP状态变迁流程
主动建立TCP链接情况:被动建立TCP链接情况主动断开链接的情况被动断开连接的情况在TIME_WAIT阶段需要停留2倍的MSL,MSL即Maximum Segment Lifetime,表示任何报文被丢弃前在网络内的最长时间,TCP/IP详解中额外注解了:RFC793指出MSL为2min,然而实现中...
分类:其他好文   时间:2014-06-30 13:11:44    阅读次数:350
【LeetCode】 Maximum Depth of Binary Tree
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:其他好文   时间:2014-06-27 23:13:24    阅读次数:218
[leetcode] Longest Palindromic Substring
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-06-27 12:46:45    阅读次数:238
[leetcode] Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
分类:其他好文   时间:2014-06-27 11:43:25    阅读次数:173
手机网页宽度 , 图片宽度 自适应
网页宽度页面box不要写宽度或width:100%之类的去掉头部加上下面代码:<metaname="viewport"content="width=device-width,initial-scale=1.0,minimum-scale=0.5,maximum-scale=2.0,user-scalable=yes"/>图片宽度<scripttype="text/javascript">functioninit(){varji..
分类:移动开发   时间:2014-06-27 07:05:34    阅读次数:239
Leetcode Maximum Subarray
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-06-26 15:10:47    阅读次数:168
图像处理---灰度处理(黑白效果)
转自:图像处理:黑白效果(灰度处理)1.效果图:2.实现原理:图像灰度化就是使色彩的三种颜色分量R、G、B的值相同,由于颜色值的取值范围是[0,255],所以灰度的 级别只有256种,即灰度图象仅能表现256种灰度颜色,常用有3种处理方法:*最大值法(Maximum):R=G=B=Max(R,G,B...
分类:其他好文   时间:2014-06-25 17:53:20    阅读次数:420
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-06-25 12:59:40    阅读次数:202
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!