mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-02 14:56:27 -04:00
Update bt_bfs.py
This commit is contained in:
parent
f1a8659193
commit
ba1a8755f0
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
# author: bt3gl
|
||||
|
||||
|
||||
def bfs_iterative(root) -> list:
|
||||
def bfs(root) -> list:
|
||||
|
||||
result = []
|
||||
queue = collections.deque([root])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue