删除二叉树层序遍历637Java解法中没有必要的语句
This commit is contained in:
parent
d9ef071119
commit
83d2865c21
|
|
@ -1072,7 +1072,6 @@ public class N0637 {
|
||||||
|
|
||||||
que.offerLast(root);
|
que.offerLast(root);
|
||||||
while (!que.isEmpty()) {
|
while (!que.isEmpty()) {
|
||||||
TreeNode peek = que.peekFirst();
|
|
||||||
|
|
||||||
int levelSize = que.size();
|
int levelSize = que.size();
|
||||||
double levelSum = 0.0;
|
double levelSum = 0.0;
|
||||||
|
|
@ -2970,3 +2969,4 @@ impl 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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue