Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 103. Binary Tree Zigzag Level Order Traversal
Return the node values grouped by tree depth, but alternate the order of values on each level (left-to-right then right-to-left, and so on). This is a level-order traversal problem where you must flip the output direction for every other level.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early August, 2025
Meta
Senior
Early April, 2025
Meta
Mid-level
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.