...

/

Maximum Average Subarray I

Maximum Average Subarray I

Try to solve the Maximum Average Subarray I problem.

Statement

Given an array of integers nums, and an integer k, return the maximum average of a contiguous subarray of length k.

Constraints:

  • ...

Access this course and 1400+ top-rated courses and projects.