码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
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
Maximum Depth of Binary Tree 解答
QuestionGiven 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 far...
分类:其他好文   时间:2015-09-24 10:56:30    阅读次数:128
Eclipse相关设置
eclipse 默认设置的换行长度, 格式化代码后,同一个方法里面参数也经常被,换行,非常难看。1.Java代码打开Eclipse的Window菜单,然后Preferences->Java->Code Style->Formatter->Edit ->Line Wrapping->Maximum l...
分类:系统相关   时间:2015-09-23 16:59:50    阅读次数:179
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...
分类:其他好文   时间:2015-09-23 13:22:39    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!