DoorDash interview question

It was binary tree max sum