Advent of Code 2024
An advent calendar of 50 coding challenges.

Rust
Advent of Code 2024
Advent of Code is an annual advent calendar of small leetcode-style programming puzzles for a variety of skill levels. Each day, a new two-part puzzle is unlocked, with the second part being a twist on the first. Each solved problem earns you a star, and the goal is to collect all 50 stars by the end of December.
⭐
2024 was my first year earning all 50 stars!
This year, I decided to solve all the problems in Rust, a favourite for these sorts of problems. There's a few things I enjoy about using Rust for these challenges:
- The strong type system allows you to describe a problem neatly using types before solving it.
- Rust's performance is renowned, and with some of problems getting quite computationally intensive, this is a big plus.
- I quite enjoy Rust's functional side for some of these problems. The declarative style and function chaining feels cleaner and more expressive for certain tasks.
My dream project idea is to create my own language for these problems, just as a previous leaderboard champion did before. I started with python, but the last few years have been in rust.