删除二叉树层序遍历637Java解法中没有必要的语句

This commit is contained in:
hbingzhi
2022-12-16 15:45:25 +08:00
parent d9ef071119
commit 83d2865c21

View File

@ -1072,7 +1072,6 @@ public class N0637 {
que.offerLast(root);
while (!que.isEmpty()) {
TreeNode peek = que.peekFirst();
int levelSize = que.size();
double levelSum = 0.0;
@ -2970,3 +2969,4 @@ impl Solution {
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
</a>