mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-08 16:54:50 +08:00
@ -93,10 +93,10 @@ class Solution:
|
||||
if not root:
|
||||
return []
|
||||
|
||||
quene = [root]
|
||||
queue = [root]
|
||||
out_list = []
|
||||
|
||||
while quene:
|
||||
while queue:
|
||||
length = len(queue)
|
||||
in_list = []
|
||||
for _ in range(length):
|
||||
|
Reference in New Issue
Block a user