Pergunta de entrevista da empresa Datadog

Find maximum sum root to leaf path in a binary tree