Problems / Trees / Binary Tree Maximum Path Sum
#59 Hard Time O(n) Space O(n) Animated

Binary Tree Maximum Path Sum

Find the maximum path sum in a binary tree.

LeetCode ↗
Approach: DFS (Post-order)
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps