Discussion thread for day 5 of the Advent of Code - https://adventofcode.com/2024/day/5
Was really overthinking the resort in part 2 and then think I stumbled into some dumb luck while exploring the data.
a sorta-brute-force solution - almost like a sorting algorithm
Checker:
Iterative Fixer:
Python code for Day 5:
All code at SeanAdams10/AdventOfCodePython: Advent of code challenges in Python - across multiple years
Part 1 was easy for me to understand. Part 2 not so much, but got through
Late post.
My AoC Day 5 solution!
another fun one - a real brain twister, even for part one. which is all I got to this time around.