32
๐ช - 2025 DAY 7 SOLUTIONS - ๐ช
(programming.dev)
An unofficial home for the advent of code community on programming.dev! Other challenges are also welcome!
Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.
Everybody Codes is another collection of programming puzzles with seasonal events.
Solution Threads
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 |
Icon base by Lorc under CC BY 3.0 with modifications to add a gradient
console.log('Hello World')
My choice of representation for part 1 ended up being fortunate, as all I needed to change for part 2 was three
setfinpropagatethat becameincf. This was also another good use case for multiple return values, as it's the beam vector you want toreduceon, but for part 1 the split count needs to come along for the ride.