摘要: Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the maximum average value.Example 1:Input: [1,12,-5,-... 阅读全文
posted @ 2017-07-16 18:24 xiejunzhao 阅读(277) 评论(0) 推荐(0)