/Advent-of-Code

My solutions for the 2021 Advent of Code, written entirely in rust

Primary LanguageRust

Advent Of Code 2021

Goals

This was my first advent of code, so I went in with almost no expectations.
However, I've been particularly enjoying writing in Rust as of late, so my goal for myself was to complete as many puzzles as I could using only rust and minimal external crates.

Project Structure and running

All solutions should run without any external dependencies. Solutions for each day are located in the /src/bin/ directory. /src/main.rs is a runner for these solutions.
To run a particular day, invoke cargo run --bin dayX to invoke the runner, a simple cargo run will bring up a tui for chosing a day. Solutions expect their input in the /inputs/ directory, named inputXX.txt where XX corresponds to the day. If this file does not exist, the solution will panic.

Solution statuses

⭐ = solved problem (two possible per day)

✔️ = started solution, not passing

❌ = has not been attempted

Day Name/Description Status
1 Sonar Sweep ⭐⭐
2 Dive! ⭐⭐
3 Binary Diagnostic ⭐⭐
4 Giant Squid (bingo) ⭐⭐
5 Hydrothermal Venture (lines) ⭐⭐
6 Lanternfish (exponential growth) ⭐⭐
7 The Treachery of Whales (horiz. crab move) ⭐⭐
8 Seven Segment Search
9 Smoke Basin
10 Syntax Scoring (stack!) ⭐⭐
11 Dumbo Octopus ⭐⭐
12 Passage Pathing
13 Transparent Origami ⭐⭐
14 Extended Polymerization
15 Chiton
16 Packet Decoder ⭐⭐
17 Trick Shot
18 Snailfish
19 Beacon Scanner
20 Trench Map
21 Dirac Dice
22 Reactor Reboot
23 Amphipod
24 Arithmetic Logic Unit ✔️
25 Sea Cucumber

About Me

My name is Christopher Hinson and I'm a computer science BS+MS student at the University of Pittsburgh