aoc-25/app
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
..
Day1.hs feat: solve day1 2025-12-02 08:01:56 +01:00
Day2.hs feat: solve part 2 of day 2 2025-12-02 15:49:25 +01:00
Day3.hs feat: solve day4 part 1 2025-12-04 23:21:42 +01:00
Day4.hs feat: solve day4 part 2 2025-12-05 00:17:40 +01:00
Day5.hs feat: solve day 5, part 2 2025-12-05 22:55:51 +01:00
Main.hs chore: add scaffolding 2025-12-02 08:01:11 +01:00