[Binary Tree] Validate binary tree.