Discussion thread for day 8 of the Advent of Code - https://adventofcode.com/2024/day/8
Eric is treating us right for the weekend! Very refreshing (Scored top 1000 for both parts today). Reading the problem felt harder than solving it:
A second straightforward day in a row. Probably too much to hope for one more in advance of Monday Morning Meetings but we'll find out in 24 hours.
This marks the only time I've ever been happy that joins are case sensitive.
Difficult part was to understand what we are asked to do rather than configuring WF today.
I might have violated Base-A...I used a pencil and paper. I love @CoG 's neat and wise WF. It's elegant.
(Edit) For part2, if linear algebra method is applied, it's successful because of:
I was just luck to have solved it without knowing this nature of data.
Wow - didn't expect this after some of the challenges we've had this week! Did almost have an absolute meltdown trying to parse the question originally though. Finished ~5k for both parts on the global leaderboard which is pretty sweet. Went overboard generating rows for P2 but hey ho, covering bases = stars apparently.
I'm sure someday I'll feel confident with grid problems, but I won't get there without practice! I spent a decent amount of time trying a spatial solution, but I didn't get very far with that.
I'm 100% sure I overcomplicated this one, but I was happy that Part 2 didn't take toooo long to get to from Part 1.
EDIT: Seeing the other (much simpler) solutions is a good lesson for me. Sometimes my mind jumps straight to macros for AoC and it doesn't need to!
For Part 2, at first I tried "Generate Rows" or "Append Fields".
As it did not seem to work well, I switched to Iterative Macro and it worked.
Done. I can sleep tonight.
Solved!
Not elegant, but work!
I was able to use the Arrange tool to stack multiple x,y elements vertically!
Day8. More in spoiler