码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 2770个结果
5. 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. Example: Example: ...
分类:其他好文   时间:2017-10-17 17:29:48    阅读次数:13
[LeetCode] Degree of an Array
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your t ...
分类:其他好文   时间:2017-10-16 19:39:41    阅读次数:7
Find the Maximum sum
Given an array of n elements.Find the maximum sum when the array elements will be arranged in such way. Multiply the elements of each pair and add to ...
分类:其他好文   时间:2017-10-16 16:55:28    阅读次数:14
Microsoft Excel行列限制简明列表
Excel行列限制简明列表:数据出处+ + + + + | | Max. Rows | Max. Columns | Max. Cols by letter | + + + + + | Excel 365* | 1,048,576 | 16,384 | XFD | | Excel 2013 | 1, ...
分类:其他好文   时间:2017-10-16 16:54:02    阅读次数:11
【lintcode】二分法总结 II
Half and Half 类型题 二分法的精髓在于判断目标值在前半区间还是后半区间,Half and Half类型难点在不能一次判断,可能需要一次以上的判断条件。 Maximum Number in Mountain Sequence Given a mountain sequence of n  ...
分类:其他好文   时间:2017-10-16 09:51:34    阅读次数:15
lintcode94- Binary Tree Maximum Path Sum- medium
Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. Example Given the below binary tree: 1 / \ 2 3 ret ...
分类:其他好文   时间:2017-10-16 09:42:57    阅读次数:5
lintcode475- Binary Tree Maximum Path Sum II- medium
Given a binary tree, find the maximum path sum from root. The path may end at any node in the tree and contain at least one node in it. Example Given ...
分类:其他好文   时间:2017-10-16 09:40:35    阅读次数:4
二分图的最大匹配、完美匹配和匈牙利算法
原文: http://www.renfei.org/blog/bipartite-matching.html 二分图的最大匹配、完美匹配和匈牙利算法 这篇文章讲无权二分图(unweighted bipartite graph)的最大匹配(maximum matching)和完美匹配(perfect ...
分类:编程语言   时间:2017-10-15 15:23:22    阅读次数:23
628. Maximum Product of Three Numbers
Given an integer array, find three numbers whose product is maximum and output the maximum product. Example 1: Example 2: Note: 求三个乘积最大,注意下负数的情况,两负*一正 ...
分类:其他好文   时间:2017-10-15 15:15:56    阅读次数:6
643. Maximum Average Subarray I
Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the ...
分类:其他好文   时间:2017-10-15 14:19:13    阅读次数:7
2770条   1 2 3 4 ... 277 下一页
© 2014 mamicode.com 版权所有 京ICP备13008772号-2
迷上了代码!