/* function TreeNode(x) { this.val = x; this.left = null; this.right = null; } */ function KthNode(pRoot, k) { // write code here if(!pRoot || !k) { return null; } let res = []; let tempRes = []; tempRes.push(pRoot); while(tempRes.length) { let...