How to edit code to “catch” the numbers at the end of the node initialization?

前端 未结 0 1196
野的像风
野的像风 2021-02-14 12:37

I need to sum up each node accordingly:

            root
               0
   child1           child2
     3                2
child3 child4      child5   child6
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题