30
🧸 - 2026 DAY 1 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')
i spent quite some time confusedly poking at my parsing code before i realized i was splitting on '\n' and there were still hidden '\r' chars in the lines since I was on my work laptop.
I haven't done much with hash maps or sorting in Zig yet. After I sleep I might find some time tomorrow see what a better approach than iterating over the entries three times might look like, but I just wanted to squeeze something out before bed.