102. Binary Tree Level Order Traversal (BFS)

BFS Traversal

問題點

所以需要利用當前 queue 的 size 當分層的數量

Last updated

Was this helpful?