Rosetta Problems

Delete and Earn

https://leetcode.com/problems/delete-and-earn