refactor Sum Root to Leaf Numbers