var maxDepth = function(root) { const recursion = (n) => { if (!n) return 0; let left = recursion(n.left) let right = re