Microsoft interview question

Maximum Sum for a tree