Problem
https://leetcode.com/problems/most-profitable-path-in-a-tree/description/
Leetcode - Most Profitable Path in a Tree
Type - DFS/BFS, Tree, Shortest Path, Backtracking
Difficulty - Medium
Approach && Solution
First, I thought “Moving Bob first ...