Problem Statement
Valid Binary Tree in Nested (XYZ) Notation Consider the following nested representation of binary trees: (XYZ) where Y and Z are the left and right subtrees, respectively of node X. Note that Y and Z may be NULL, or further nested. Which one of the given options represents a valid binary tree?