假设您希望以递归方式实现广度优先搜索二叉树.你会怎么做?
是否可以仅使用调用堆栈作为辅助存储?
algorithm breadth-first-search
algorithm ×1
breadth-first-search ×1