3422: Minimum Operations to Make Subarray Elements Equal

Problem Statement