Valid Binary Tree in Nested (XYZ) Notation - INTEL OA Question | OAHelper