Function to find the frequency of the most common element in each M length subarrays
using System ; using System . Collections . Generic ; public class GFG { static void maxFrequencySubarrayUtil ( int [ ] A , int N , int M ) { int i = 0 ;