keshavMM004/InterviewQuest

META interview question

Aberta

#3 aberto em 7 de out. de 2024

 (0 comentário) (0 reação) (0 responsável)Java (0 fork)auto 404
hacktoberfest

Métricas do repositório

Stars
 (0 estrela)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador