You are given the root of a binary tree. Your task is to return the zigzag level order traversal of the tree
Input: root = [3,9,20,null,null,15,7]
Output: [[3],[20,9],[15,7]]
Explanation: The traversal alternates between left-to-right and right-to-left at each level.
Input: root = [1]
Output: [[1]]
Explanation: The tree contains only one level.
Input: root = []
Output: []
Explanation: The tree is empty.
Sign in to write, run, and submit your solution against the full test suite.