This repo contains my solutions for the 2021 Advent of Code challenge. I've chosen to implement my solutions in Rust, and am using the problems as a learning experience to get better at programming with Rust. My goal is to learn how to make proper use of Rust's language features and write Rust code that is clean and (when possible) elegant.
This project is built and run with Cargo. You can build the project with the following command:
cargo build
You can run the project for a specific day with the following command, where D
is the number of the day to solve for:
cargo run D
- Day 1: Sonar Sweep
- Day 2: Dive!
- Day 3: Binary Diagnostic
- Day 4: Giant Squid
- Day 5: Hydrothermal Venture
- Day 6: Lanternfish
- Day 7: The Treachery of Whales
- Day 8: Seven Segment Search
- Day 9: Smoke Basin
- Day 10: Syntax Scoring
- Day 11: Dumbo Octopus
- Day 12: Passage Pathing
- Day 13: Transparent Origami
- Day 14: Extended Polymerization
- Day 15: ???
- Day 16: ???
- Day 17: ???
- Day 18: ???
- Day 19: ???
- Day 20: ???
- Day 21: ???
- Day 22: ???
- Day 23: ???
- Day 24: ???
- Day 25: ???