LeetCode

Delete and Earn

Click here for an explanation.