How would you convert this recursive solution to an iterative one?

前端 未结 0 341
暖寄归人
暖寄归人 2020-12-16 03:22

We want to create the iterative function starting from the corresponding recursive. What the function has to do is go through the non-binary tree, which has numbers as nodes

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