Ideal Queue implementation for a breadt-first binary tree traversal

后端 未结 0 701
予麋鹿
予麋鹿 2021-02-05 06:16

While solving this leetcode problem, I want to use breadth-first binary tree traversal.

I read that "BFT" should be implemented with a Queue, but which Queue im

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