diff --git a/day05b/src/main/java/sh/natty/aoc23/Main.java b/day05b/src/main/java/sh/natty/aoc23/Main.java index 33fe62e..aefa4d3 100644 --- a/day05b/src/main/java/sh/natty/aoc23/Main.java +++ b/day05b/src/main/java/sh/natty/aoc23/Main.java @@ -61,9 +61,6 @@ public class Main { var sub = map.subMap(minKey, true, maxKey, true); - if (sub.isEmpty()) - return Stream.of(r); - var newRanges = new ArrayList>(); var starts = new ArrayList(); starts.add(r.getMinimum());