find the maximum average subarray which length should be greater or equal to given length k. * Firstly, we know that the value of the average could lie between the range (min, max). * Here, min and ...
Given an integer array nums, find a contiguous non-empty subarray within the array that has the largest product, and return the product. The test cases are generated so that the answer will fit in a ...