...

/

Binary Tree Maximum Path Sum

Binary Tree Maximum Path Sum

Try to solve the Binary Tree Maximum Path Sum problem.

Statement

Given the root of a binary tree, return the maximum sum of any non-empty path.

A path in a binary tree is defined as follows:

  • A sequence of nodes in which each pair of adjacent nodes must
...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy