
Solved LeetCode — Binary Tree Zigzag Level Order Traversal
Used BFS + Queue with a boolean flag to alternate directions each level
Added values normally and reversed order using add(0, val) when needed.
#LeetCode #Java #DSA #BinaryTree


English
Manish Khyalia
228 posts

@Manish_Kumar60
Java developer | Python | DSA|Spring Boot Don’t think about being too early or too late. Just start and be consistent.




































