Check if any subarray of length M repeats at least K times consecutively or not
Given an array arr[] consisting of N integers and two positive integers M and K, the task is to check if there exists any subarray of length M that repeats consecutively at least K times. If found to be true, then print "Yes". Otherwise, print "No". Examples: Input: arr[] = {2, 1, 2, 1, 1, 1, 3}, M