mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 12:16:14 -04:00
Update bt_bfs.py
This commit is contained in:
parent
f1a8659193
commit
ba1a8755f0
@ -3,7 +3,7 @@
|
||||
# author: bt3gl
|
||||
|
||||
|
||||
def bfs_iterative(root) -> list:
|
||||
def bfs(root) -> list:
|
||||
|
||||
result = []
|
||||
queue = collections.deque([root])
|
||||
|
Loading…
x
Reference in New Issue
Block a user