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

貢獻者指南