Coding

Calculate the sum of the maximum sum path that goes through the root node in a tree.

Try Our AI Interviewer

Prepare for success with realistic, role-specific interview simulations.

Try AI Interview Now

Interview question asked to Machine Learning Engineers interviewing at Autodesk, Figma, Hootsuite and others: Calculate the sum of the maximum sum path that goes through the root node in a tree..