[LeetCode] Maximum Product of Three Numbers 三个数字的最大乘积

 Given an integer array, find three numbers whose product is maximum and output the maximum product.Example 1:Input: [1,2,3]Output: 6 Exampl
38次阅读

[LeetCode] Maximum Distance in Arrays 数组中的最大距离

 Given m arrays, and each array is sorted in ascending order. Now you can pick up two integers from two different arrays (each array pi
28次阅读

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
28次阅读

binary-tree-maximum-path-sum——二叉树任意一条路径上的最大值

Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1
29次阅读

max-points-on-a-line——穷举

Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.找出二维平面上处于同一条直线上的最大点数 PS: map用法。for(a
20次阅读

[LeetCode] Maximum Vacation Days 最大化休假日

 LeetCode wants to give one of its best employees the option to travel among N cities to collect algorithm problems. But all work and n
24次阅读

hdu1024 Max Sum Plus Plus[降维优化好题(貌似以后可以不用单调队列了)]

Max Sum Plus PlusTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 28136&nbs
24次阅读

FireDAC 出现Variable length column[*] overflow. Value length - [80], column maximum length

FireDAC 出现Variable length column[*] overflow. Value length - [80], column maximum lengthFireDAC的 TFDQuery组件访问SQLlite数据库,使用insert into语句插入一条数据长度为80的字符串
43次阅读

leetCode 53: Maximum Subarray

题目如下:Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [−2,1,
36次阅读

poj3693 Maximum repetition substring

 Maximum repetition substringTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9757 Accepted: 3004Descripti
23次阅读