From 4dfa4d1ae2c3be414c51d0e1fb056567d2e2d938 Mon Sep 17 00:00:00 2001 From: Luo <82520819+Jerry-306@users.noreply.github.com> Date: Wed, 1 Dec 2021 19:43:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=97=E6=B3=95=E6=A8=A1=E6=9D=BF=20js=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BB=A3=E7=A0=81=E6=A0=B7=E5=BC=8F=E5=BE=AE?= =?UTF-8?q?=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problems/算法模板.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/problems/算法模板.md b/problems/算法模板.md index 853816d2..69ebb361 100644 --- a/problems/算法模板.md +++ b/problems/算法模板.md @@ -460,7 +460,7 @@ var levelOrder = function (root) { for (let i = 0; i < n; i++) { let node = queue.shift(); temp.push(node.val); - node.left &&queue.push(node.left); + node.left && queue.push(node.left); node.right && queue.push(node.right); } res.push(temp);