Domanda di colloquio di Datadog

Find maximum sum root to leaf path in a binary tree