628.Maximum Product of Three Numbers
摘要:
题目链接:https://leetcode.com/problems/maximum-product-of-three-numbers/description/ 题目大意:从一个数组中选取三个数,使其乘积最大。 法一:直接排序后取最大值即可。代码如下(耗时30ms): 1 public int ma 阅读全文
posted @ 2018-03-07 19:53 二十年后20 阅读(131) 评论(0) 推荐(0)
浙公网安备 33010602011771号