Domanda di colloquio di Tibra

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

Risposta di colloquio

Anonimo

2 set 2024

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