rewrite leetcode sum root to leaf numbers