码迷,mamicode.com
首页 >  
搜索关键字:maximum subsequence    ( 5146个结果)
leetcode 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, and there exists one unique lo...
分类:其他好文   时间:2015-10-06 22:12:48    阅读次数:479
Longest Palindromic Substring
题目: Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longe....
分类:其他好文   时间:2015-10-04 17:09:04    阅读次数:165
124. Binary Tree Maximum Path Sum (Tree; DFS)
Given a binary tree, find the maximum path sum.For this problem, a path is defined as any sequence of nodes from some starting node to any node in the...
分类:其他好文   时间:2015-10-04 12:18:38    阅读次数:101
mtu
通信术语 最大传输单元(Maximum Transmission Unit,MTU)是指一种通信协议的某一层上面所能通过的最大数据包大小(以字节为单位)。最大传输单元这个参数通常与通信接口有关(网络接口卡、串口等)。原理说明因为协议数据单元的包头和包尾的长度是固定的,MTU越大,则一个协议数据单元的...
分类:其他好文   时间:2015-10-02 19:51:38    阅读次数:272
LeetCode #5 Longest Palindromic Substring (M)
[Problem]Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique l...
分类:其他好文   时间:2015-10-02 00:11:38    阅读次数:194
CompletionPort
【CompletionPort】1、CreateIoCompletionPort。此方法用于创建与绑定。 CompletionKey是自定义数据,用于区分FileHandle。 NumberOfConcurrentThreads[in] The maximum number of thre...
分类:其他好文   时间:2015-10-01 11:38:20    阅读次数:130
求二叉树最长路径和
题目:Binary Tree Maximum Path SumGiven a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the...
分类:其他好文   时间:2015-09-30 00:51:34    阅读次数:181
最大子列和CT 01-复杂度2 Maximum Subsequence Sum
Given a sequence ofKintegers {N?1??,N?2??, ...,N?K??}. A continuous subsequence is defined to be {N?i??,N?i+1??, ...,N?j??} where1≤i≤j≤K. The Maximum ...
分类:其他好文   时间:2015-09-29 18:36:52    阅读次数:114
LeetCode——Best Time to Buy and Sell Stock II
Description: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 ma...
分类:其他好文   时间:2015-09-27 17:32:53    阅读次数:159
第11章:最长公共子序列(LCS:Longest Common Subsequence)
方法:动态规划 《算法导论》P208最优子结构 +重叠子问题设xi,yi,为前i个数(前缀)设c[i,j]为xi,yi的LCS的长度c[i,j] = 0 (i ==0 || j == 0)c[i,j] = a[i-1,j-1] + 1 (i,j>0 &&xi=yi)c[i,j] = max(c[i,...
分类:其他好文   时间:2015-09-26 23:56:22    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!