码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
5. Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of Sis 1000, and there exists one unique longest ...
分类:其他好文   时间:2016-09-07 22:55:39    阅读次数:165
LintCode刷题笔记-- BackpackIII
标签:动态规划 问题描述: Given n items with size Ai and value Vi, and a backpack with size m. What's the maximum value can you put into the backpack? 解题思路: 又是一道恶 ...
分类:其他好文   时间:2016-09-07 01:40:05    阅读次数:211
standby 磁盘IO性能较差,影响Primary性能
1.近日处理一个由于standby磁盘IO性能较差,导致Primary的性能受到影响。主库主要是等待"logfileswitchcompletion",通过ASHdump分析,最终发现实际等待事件是"LGWR-LNSwaitonchannel”.这个事件基本上可以将问题归结到网络性能和standby的IO性能,而客户的传输模式是“MAXIMUM..
分类:数据库   时间:2016-09-06 01:27:28    阅读次数:324
leetcode 239. Sliding Window Maximum
239. Sliding Window Maximum 239. Sliding Window Maximum Given an array nums, there is a sliding window of size k which is moving from the very left of ...
分类:Windows程序   时间:2016-09-05 19:13:28    阅读次数:224
最大连续子序列和问题(Maximum Consecutive Subsequence Sum)
该算法的定义是:给出一个int序列,元素有正有负,找出其中的最大连续子序列的和。 例如:-2,11,-4,13,-5-2,;最大和为20(11,-4, 13)。 怎么考虑这个问题呢? 要充分利用,连续,这个条件。 连续子序列的和可能为正,也可能为负。如果为正,那么我们要继续加下去,因为如果后面一个数 ...
分类:其他好文   时间:2016-09-05 10:34:10    阅读次数:133
[leetcode] 104. Maximum Depth of Binary Tree
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 l ...
分类:其他好文   时间:2016-09-04 23:58:10    阅读次数:267
PAT - 测试 01-复杂度2 Maximum Subsequence Sum (25分)
1??, N2N_2N?2??, ..., NKN_KN?K?? }. A continuous subsequence is defined to be { NiN_iN?i??, Ni+1N_{i+1}N?i+1??, ..., NjN_jN?j?? } where 1≤i≤j≤K1 \le i ...
分类:其他好文   时间:2016-09-04 19:19:09    阅读次数:347
LeetCode-Create Maximum Number
Given two arrays of length m and n with digits 0-9 representing two numbers. Create the maximum number of length k <= m + n from digits of the two. Th ...
分类:其他好文   时间:2016-09-04 10:09:38    阅读次数:187
[LintCode] Maximum Gap 求最大间距
Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Return 0 if the array contains less than 2 el ...
分类:其他好文   时间:2016-09-04 01:40:47    阅读次数:203
HTML5 标签audio添加网页背景音乐代码
<head> <meta http-equiv="Content-Type" name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scala ...
分类:Web程序   时间:2016-09-04 01:35:01    阅读次数:161
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!