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.
2 parents 3582a9f + 5073196 commit 843c3f7Copy full SHA for 843c3f7
problems/0101.对称二叉树.md
@@ -224,8 +224,8 @@ public:
224
st.push(root->left);
225
st.push(root->right);
226
while (!st.empty()) {
227
- TreeNode* leftNode = st.top(); st.pop();
228
TreeNode* rightNode = st.top(); st.pop();
+ TreeNode* leftNode = st.top(); st.pop();
229
if (!leftNode && !rightNode) {
230
continue;
231
}
@@ -950,3 +950,4 @@ public bool IsSymmetric(TreeNode root)
950
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
951
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
952
</a>
953
+
0 commit comments