23
๐ฌ - 2026 DAY 3 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')
Rust
spoiler
Im not super happy with it, but it works. 189ms, so pretty slow. I'll probably update this a bit and get something I am actually proud of.
The main thing that caught me out on pt1 was "square", when clearly those were all rectangles due to the font. Once I got that it was pretty trivial.
working on a video
https://youtube.com/shorts/eFuEB2cNDAk
I also misunderstood that part about the "sqaures" at first. I then realised that I must've mistranslated it (not natively english) and re-counted all the example distances.
Nice visualization