keshavMM004/InterviewQuest

META interview question

开放

#3 创建于 2024年10月7日

 (0 条评论) (0 个反应) (0 位负责人)Java (0 个派生)auto 404
hacktoberfest

仓库指标

星标
 (0 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

A path in a binary tree is a sequence of nodes where each consecutive pair of nodes is connected by an edge. Each node can appear in the sequence no more than once. The path does not necessarily need to pass through the root.

The sum of a path is the total value of the nodes along the path.

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

leetcode

贡献者指南