Categorygithub.com/szhou12/leetcode-goleetcode0103-Binary-Tree-Zigzag-Level-Order-Traversal
package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev

# README

103. Binary Tree Zigzag Level Order Traversal

Solution idea

BFS

Notes

注意!!!从一端 Pop 元素,就一定要从另一端 Push. 不能从同一端即 Pop 又 Push,会产生插队的情况!