How to implement iterator for binary tree in breadth-first order

后端 未结 0 889
灰色年华
灰色年华 2021-01-15 17:23

I have this binary tree but I don\'t know how to implement a iterator for this. here is the code

class node:
    "         


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