Avataar interview question

Find maximum path sum in a tree