From ba1a8755f083be350ef74b455f2ed03b31f0a4c5 Mon Sep 17 00:00:00 2001 From: bt3gl <138340846+bt3gl-cryptographer@users.noreply.github.com> Date: Tue, 8 Aug 2023 14:17:34 -0700 Subject: [PATCH] Update bt_bfs.py --- trees/bt_bfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trees/bt_bfs.py b/trees/bt_bfs.py index d7e0586..be713c6 100644 --- a/trees/bt_bfs.py +++ b/trees/bt_bfs.py @@ -3,7 +3,7 @@ # author: bt3gl -def bfs_iterative(root) -> list: +def bfs(root) -> list: result = [] queue = collections.deque([root])