From 7e9d5f0f93c444267ec2ec823c186bf359bed0a6 Mon Sep 17 00:00:00 2001 From: Andrew Ekstedt Date: Sat, 6 Dec 2025 04:24:34 +0000 Subject: [PATCH] typo --- day05/sol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day05/sol.py b/day05/sol.py index 3d54e49..0700847 100644 --- a/day05/sol.py +++ b/day05/sol.py @@ -39,7 +39,7 @@ def solve(input): break if found: #print("collapsing ({:,} {:,}) and ({:,} {:,}) -> ({:,} {:,})".format(x,y,lo,hi,min(x,lo),max(y,hi))) - # if x <= lo <= hi < y then the range is unchanged and we don't need to update flattened[i]. + # if x <= lo <= hi <= y then the range is unchanged and we don't need to update flattened[i]. # otherwise we need to add the new range to the queue to see if it can be merged with any other entries. if lo < x or hi > y: del flattened[i]