2467. Most Profitable Path in a Tree - Explanation

Problem Link