644. Maximum Average Subarray II

Given an integer array nums and an integer k, find the contiguous subarray of length at least k that has the maximum average value. Return the maximum average value.

Examples
Input: [[1,12,-5,-6,50,3],4]
Output: 12.75
Hints
Related Problems

644. Maximum Average Subarray II

Given an integer array `nums` and an integer `k`, find the contiguous subarray of length at least `k` that has the maximum average value. Return the maximum average value.