Minimum Cost Path in a Tree

Company: Squarepoint_1oct

Difficulty: medium