Pergunta de entrevista da empresa Tibra

Number pyramid (similar to binary tree) find largest sum - use triangular numbers

Resposta da entrevista

Sigiloso

2 de set. de 2024

Triangular number to index, then loop bottom-up saving the max sum of each subtree