Example 1

Example 2

Example 3
Example 4
The number of the nodes in the tree is in the range [0, 100].-100 <= Node.val <= 100Example 1

Example 2

Example 3
Example 4
The number of the nodes in the tree is in the range [0, 100].-100 <= Node.val <= 100