Binary Tree Zigzag Level Order Traversal Flashcards

1
Q

Binary Tree Zigzag Level Order Traversal

Given a binary tree, return the zigzag level order traversal of its nodes’ values. (ie, from left to right, then right to left for the next level and alternate between).

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly