For the problem : Validate Binary Tree Nodes(https://leetcode.com/problems/validate-binary-tree-nodes/)
Testcase number 37 is a wrong testcase. As per the given input
4
[3,-1,1,-1]
[-1,-1,0,-1]
Befor iteration tree consist of only 1 element "0".
1st Iteration: Tree consist of 2 levels.
1st level: "0"
2nd level: "0" left is "3" and "0" right is null.
2nd Iteration: Now the leaf element's left and right nodes are set to null. so we cant add anymore nodes to the tree further in next iteration.
In the 3rd Iteration we cannot add the new items to the tree since all leaf elements are null so it is a invalid binary tree and output should come as false but the expected output is shown as true.
