You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered that while talking about the brute force solution i.e naive solution while explaining the sliding window patter, the leetcode example https://leetcode.com/problems/maximum-average-subarray-i/description/ is expected to return a single result of the maximum average, but the code example within the tutrorial returned the average of all k values.
The text was updated successfully, but these errors were encountered:
I discovered that while talking about the brute force solution i.e naive solution while explaining the sliding window patter, the leetcode example https://leetcode.com/problems/maximum-average-subarray-i/description/ is expected to return a single result of the maximum average, but the code example within the tutrorial returned the average of all k values.
The text was updated successfully, but these errors were encountered: