643. Maximum Average Subarray I

sliding window

time: O(n)

space: O(1)

Last updated

Was this helpful?