/AdventOfCode2021

https://adventofcode.com/2021

Primary LanguagePython

Advent of Code 2021

This repo is for the annual Advent of Code programming challenge, 2021 version.

This year, I wanted to brush up on C++ and Java, so on certain days when I had more time I decided to use them instead of my main language (Python). This resulted in a disgusting file structure with multiple build systems. My C++ compilation broke on day 5 when I tried to include the Boost package, so I stopped using it temporarily.

Nevertheless, I plan on actually completing AoC for the first time ever and I'm expecting to gain a lot of needed familiarity with C++ and Java.

Personal Highlights: Day 12: My first time using BFS in Python. Definitely worth reviewing before an interview

Day 15: My first time using Dijkstra in Python, and the Dijkstar library

Day 16: had me stuck for a week. Decided to implement the logic into one file instead of two like I originally tried

Day 23: realizing I could use game state positions as nodes on a graph

Day 24: using Streamlit to make a dashboard to easily test hypotheses with the model number validator

Quick Code Links

Day 1 (Java): Part 1, Part 2

Day 2 (C++): Part 1, Part 2

Day 3 (Python): Part 1, Part 2

Day 4 (Java): Part 1, Part 2

Day 5 (Python): Part 1, Part 2

Day 6 (Python): Part 1, Part 2

Day 7 (Python): Part 1, Part 2

Day 8 (Python): Part 1, Part 2

Wait it's all Python? Always has been

Day 9 (Python): Part 1, Part 2

Day 10 (Python): Part 1, Part 2

Day 11 (Python): Part 1, Part 2

Day 12 (Python): Part 1, Part 2

Day 13 (Python): Part 1, Part 2

Day 14 (Python): Part 1, Part 2

Day 15 (Python): Part 1, Part 2

Day 16 (Python): Part 1, Part 2

Day 17 (Python): Part 1, Part 2

<-- sobbing -->

Day 20 (Python): Part 1, Part 2

Day 21 (Python): Part 1, Part 2

Day 22 (Python): Part 1

Day 24 (Python): Part 1 and Part 2

Day 25 (Python): Part 1