Skip to content

Commit c6109f7

Browse files
author
lucifer
committed
fix: 增加图
1 parent cea58aa commit c6109f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

problems/101.symmetric-tree.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ https://leetcode-cn.com/problems/symmetric-tree/
4848

4949
这种方法可行,但是需要 N 的空间(N 为节点总数)。我想到如果两者可以同时进行遍历,是不是就省去了哈希表的开销。
5050

51+
![](https://tva1.sinaimg.cn/large/007S8ZIlly1gfbso8u6myj31a30u0tf5.jpg)
52+
5153
如果不明白的话,我举个简单例子:
5254

5355
```

0 commit comments

Comments
 (0)