companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Binary Tree Zigzag Level Order Traversal

63.7% acceptance · asked by 19 companies

Solve on LeetCode
TreeBinary TreeBreadth-First Search

Workspace

Scratch, run, iterate — then submit on LeetCode

Custom input (stdin)

Console

Output appears here. Runs on the free Piston sandbox.

Your notes

Sign in to keep markdown notes on this problem — approach, complexity, gotchas.

Who asks this

Sigmoid100Nutanix75Microsoft63Oracle63Amazon

Related problems

Binary Tree Maximum Path Sum
Hard
Serialize and Deserialize Binary Tree
Hard
Lowest Common Ancestor of a Binary Tree
Medium
Diameter of Binary Tree
Easy
Validate Binary Search Tree
Medium
63
Citadel63
Adobe63
Walmart Labs63
Yandex50
Bloomberg50
Bytedance50
Linkedin50
Palo Alto Networks50
Google38
Accenture38
Tiktok38
Meta38
Goldman Sachs25
Apple25