Given the root of a binary tree, return the zigzag level order traversal of its nodes' values. This means traversing the tree level by level in a zigzag order, alternating between left-to-right and right-to-left at each level.
Click Run to execute sample tests.