628. Maximum Product of Three Numbers

第一次刷leetcode是超级简单的一道题 spa 一开始还觉得是须要用到动态规划。。。code 题目以下:Given an integer array, find three numbers whose product is maximum and output the maximum product.orm Example 1:Input: [1,2,3]Output: 6Example 2:
相关文章
相关标签/搜索