LeetCode 103. Binary Tree Zigzag Level Order Traversal
Posted onInLeetcode
,
Tree Symbols count in article: 955Reading time ≈1 mins.
Question
Given the root of a binary tree, return the zigzag level order traversal of its nodes’ values. (i.e., from left to right, then right to left for the next level and alternate between).