Rosetta Problems

Find Minimum Cost to Remove Array Elements

https://leetcode.com/problems/find-minimum-cost-to-remove-array-elements