Leetcode 3139. Minimum Cost to Equalize Array | Hello Interview