Juniper Networks interview question

Maximum path sum in a tree