function TreeNode(x) { this.val = x this.left = null this.right = null } /** * * @param root TreeNode类 * @param p int整型 * @param q int整型 * @return int整型 */ function lowestCommonAncestor(root, p, q) { }