Minimum Sum Assignment on a Tree

Company: Eternal_SDE_25sep

Difficulty: medium