Binary Tree Maximum Path Sum — Trees

Find the biggest total a route can gather through a network of towns, each worth a positive or negative amount, without revisiting one.

Trees · Hard

More in Trees

All algorithm problems