Zigzag Level Order Traversal
Medium
Binary Trees
Print the zigzag level order of a binary tree: left to right on the first level, right to left on the next, and so on. One level per line.
Constraints
0 <= number of nodes <= 2000
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.