mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 15:45:40 +08:00
Merge pull request #1817 from LookSin/MyCommit
删除二叉树层序遍历637Java解法中没有必要的语句
This commit is contained in:
@ -1102,7 +1102,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;
|
||||||
@ -3016,3 +3015,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>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user