Skip to content

Commit c3d466e

Browse files
Merge pull request youngyangyang04#1817 from LookSin/MyCommit
删除二叉树层序遍历637Java解法中没有必要的语句
2 parents ef2322e + 83d2865 commit c3d466e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/0102.二叉树的层序遍历.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,6 @@ public class N0637 {
11021102

11031103
que.offerLast(root);
11041104
while (!que.isEmpty()) {
1105-
TreeNode peek = que.peekFirst();
11061105

11071106
int levelSize = que.size();
11081107
double levelSum = 0.0;
@@ -3016,3 +3015,4 @@ impl Solution {
30163015
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
30173016
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
30183017
</a>
3018+

0 commit comments

Comments
 (0)