Leetcode 3424. Minimum Cost to Make Arrays Identical | Hello Interview