Solution: Maximum Average Subarray I
Solution: Maximum Average Subarray I asks you to find the largest average among all contiguous subarrays of exactly k elements in an integer array, whose values may be negative.
We'll cover the following...
We'll cover the following...
Statement
Given an array of integers nums, and an integer k, return the maximum average of a contiguous subarray of length k.
Constraints:
...