2019年2月17日

摘要: 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 阅读全文
posted @ 2019-02-17 22:13 一直走在路上 阅读(103) 评论(0) 推荐(0)
摘要: Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: Inpu 阅读全文
posted @ 2019-02-17 00:20 一直走在路上 阅读(157) 评论(0) 推荐(0)

导航