21(March) ZigZag Tree Traversal
21. Zigzag Tree Traversal
Problem Description
1
/ \
2 3
/ \ / \
4 5 6 71 3 2 4 5 6 7My Approach
Time and Auxiliary Space Complexity
Code (C++)
Contribution and Support
📍Visitor Count
Previous20(March) Sum of nodes on the longest path from root to leaf nodeNext22(March) Diagonal sum in binary tree
Last updated