https://practice.geeksforgeeks.org/problems/sum-of-the-longest-bloodline-of-a-tree/1