Function to find the valley elements in the array which contains in the subarrays of the size K
def minpoint ( arr , n , k ) : NEW_LINE INDENT min_point = 0 NEW_LINE for i in range ( 1 , k - 1 ) : NEW_LINE DEDENT