Maximize Sum of Weights after Edge Removals - Practice Coding | SlaveCode