Find Minimum Cost to Remove Array Elements