摘要: Given an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element. We define an array is non-decr 阅读全文
posted @ 2018-05-14 22:10 何以解忧,唯有撸代码 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Given an integer array, find three numbers whose product is maximum and output the maximum product. 题目:给定一个数组,数组长度3-10000,求其中三个数乘积最大的值;(最大乘积不会超过int范围) 阅读全文
posted @ 2018-05-14 14:19 何以解忧,唯有撸代码 阅读(114) 评论(0) 推荐(0) 编辑