码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
mysql information_schema
SELECT TABLE_NAME,COLUMN_NAME,CHARACTER_MAXIMUM_LENGTH,COLUMN_COMMENT FROM COLUMNS WHERE TABLE_SCHEMA='zhongchao' AND COLUMN_NAME LIKE 'Is%'SELECT * F...
分类:数据库   时间:2015-08-19 20:20:43    阅读次数:139
[LeetCode] 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 le...
分类:其他好文   时间:2015-08-19 13:14:00    阅读次数:134
[LeetCode]Max Points on a Line
Max Points on a LineGivennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.对点遍历,找到对每个点共线的最大点数,所有点的最大值即是全局最大值...
分类:其他好文   时间:2015-08-18 18:21:54    阅读次数:96
【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 complet...
分类:其他好文   时间:2015-08-18 11:39:48    阅读次数:190
HashMap源码分析
/** * The default initial capacity - MUST be a power of two. */ static final int DEFAULT_INITIAL_CAPACITY = 16; /** * The maximum ca...
分类:其他好文   时间:2015-08-17 23:35:28    阅读次数:175
[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-08-17 14:00:36    阅读次数:212
UVA 11827 Maximum GCD(读入技巧,stringstream的使用)
好久没来写blog了,不能颓了。这道题的数据范围很小,n#include#include#includeusing namespace std;int num[100], n;string s;int gcd(int a, int b){ return b ? gcd(b, a % b) : ...
分类:其他好文   时间:2015-08-17 13:57:25    阅读次数:179
LeetCode: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 le...
分类:其他好文   时间:2015-08-17 11:37:33    阅读次数:123
leetcode - Longest Palindromic Substring
leetcode -Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000,...
分类:其他好文   时间:2015-08-17 00:58:54    阅读次数:112
[LeetCode] Maximum Subarray Sum
Dynamic ProgrammingThere is a nice introduction to the DP algorithm in thisWikipedia article. The idea is to maintain a running maximumsmaxand a curre...
分类:其他好文   时间:2015-08-16 16:22:54    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!