function TreeNode(x) { this.val = x this.left = null this.right = null } function Convert(pRootOfTree) { }