Coding
Given a tree, write a function to return the sum of the max-sum path which goes through the root node.
Data Scientist
Meta
Paytm
LendingClub
Dell
eToro
Try Free AI Interview
Interview question asked to Data Scientists interviewing at Duolingo, Dell, Reddit and others: Given a tree, write a function to return the sum of the max-sum path which goes through the root node..