Metaseniordez. de 2025
Range Sum of BST
Given the root of a binary search tree and an inclusive range [low, high], return the sum of all node values that fall within the range. Leverage the BST ordering to prune subtrees that are entirely < low or > high and traverse only the relevant nodes.
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
Range Sum of BST
Nenhum anexo público associado a esta pergunta.
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.