avatar
Owen O’Malley @owenomalley.bsky.social

Part 2 of day 5 of #AdventOfCode took a while to get correct. It is an interesting tradeoff in how much to setup your data structures. (It reminds me of studying in university and how much to memorize versus re-derive.) In this case, I sorted and grouped the rules. github.com/omalley/adve...

dec 6, 2024, 1:03 am • 4 0

Replies

avatar
Dabjulmaros @dabjulmaros.bsky.social

At first I also thought I needed to sort and group the data but after testing I also got the right answer with out those steps. Maybe I just got lucky?

dec 6, 2024, 4:10 am • 1 0 • view