We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36a9ec commit cdf6442Copy full SHA for cdf6442
problems/101.symmetric-tree.md
@@ -38,7 +38,7 @@ https://leetcode-cn.com/problems/symmetric-tree/
38
39
看到这题的时候,我的第一直觉是 DFS。然后我就想:`如果左子树是镜像,并且右子树也是镜像,是不是就说明整体是镜像?`。经过几秒的思考, 这显然是不对的,不符合题意。
40
41
-
+
42
43
很明显其中左子树中的节点会和右子树中的节点进行比较,我把比较的元素进行了颜色区分,方便大家看。
44
0 commit comments