mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 03:34:02 +08:00
修改了java代码中的一处注释错误
This commit is contained in:
@ -341,7 +341,7 @@ class Solution {
|
|||||||
if (node1.left == null && node2.left != null) {
|
if (node1.left == null && node2.left != null) {
|
||||||
node1.left = node2.left;
|
node1.left = node2.left;
|
||||||
}
|
}
|
||||||
// 若node2的左节点为空,直接赋值
|
// 若node1的右节点为空,直接赋值
|
||||||
if (node1.right == null && node2.right != null) {
|
if (node1.right == null && node2.right != null) {
|
||||||
node1.right = node2.right;
|
node1.right = node2.right;
|
||||||
}
|
}
|
||||||
@ -696,3 +696,4 @@ object Solution {
|
|||||||
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
|
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
|
||||||
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
|
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user