From 5995599d6da8b6f23a2ff5e087a1be03df3001f9 Mon Sep 17 00:00:00 2001 From: Pascal Lais Date: Mon, 13 Dec 2021 08:51:11 +0100 Subject: [PATCH] Fix day 12 solution --- day-12/day-12.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day-12/day-12.py b/day-12/day-12.py index 3cd7439..603edbc 100644 --- a/day-12/day-12.py +++ b/day-12/day-12.py @@ -20,7 +20,7 @@ def process_node(node, available_edges, visited): def process_node_twice(node, available_edges, visited, visited_twice): - paths = deque() + paths = [] if node == "end": paths.append([node]) return paths