export function TreeNode(x) { this.val = x this.left = null this.right = null } export function lowestCommonAncestor(root, p, q) { console.log(root, p, q) }