Highest Priority Removal Sum

Company: nielsen

Difficulty: easy