My Advent of Code solutions for 2025. https://adventofcode.com/2025
Find a file
Jacob Jonsson 7af90f9e9c feat: solve day 5, part 2
Keeping the old solution for the ranges was too ineffective when it
came to enumerating all contained integers, the amount of elements was
too large to either expand the ranges into Sets or similar.

However, it turned out (after some thinking) to be fairly
straight-forward to check if consecutive ranges overlapped, and in
that case merge them. The solution therefore now parses the ranges,
sorts them on the first component and then merges them as far as
possible.

changes: JJ: M app/Day5.hs
2025-12-05 22:55:51 +01:00
app feat: solve day 5, part 2 2025-12-05 22:55:51 +01:00
input feat: solve part 1 day 5 2025-12-05 21:51:10 +01:00
.gitignore chore: add scaffolding 2025-12-02 08:01:11 +01:00
aoc25.cabal feat: solve part 2 day 3 2025-12-03 23:07:54 +01:00
CHANGELOG.md chore: add scaffolding 2025-12-02 08:01:11 +01:00
LICENSE chore: add scaffolding 2025-12-02 08:01:11 +01:00