Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite755039

Browse files
Update
1 parenta86f06e commite755039

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@
9191
*[二叉树:我对称么?](https://mp.weixin.qq.com/s/Kgf0gjvlDlNDfKIH2b1Oxg)
9292
*[二叉树:看看这些树的最大深度](https://mp.weixin.qq.com/s/guKwV-gSNbA1CcbvkMtHBg)
9393
*[二叉树:看看这些树的最小深度](https://mp.weixin.qq.com/s/BH8-gPC3_QlqICDg7rGSGA)
94+
*[二叉树:我有多少个节点?](https://mp.weixin.qq.com/s/2_eAjzw-D0va9y4RJgSmXw)
95+
*[二叉树:我平衡么?](https://mp.weixin.qq.com/s/isUS-0HDYknmC0Rr4R8mww)
9496

9597

9698
(持续更新中....)

‎problems/0100.相同的树.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ public:
8989
9090
// 此时就是:左右节点都不为空,且数值相同的情况
9191
// 此时才做递归,做下一层的判断
92-
bool outside = compare(left->left, right->right); // 左子树:左、 右子树:
93-
bool inside = compare(left->right, right->left); // 左子树:右、 右子树:
92+
bool outside = compare(left->left, right->right); // 左子树:左、 右子树:
93+
bool inside = compare(left->right, right->left); // 左子树:右、 右子树:
9494
bool isSame = outside && inside; // 左子树:中、 右子树:中 (逻辑处理)
9595
return isSame;
9696

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp