Here are my Java solutions for the 2020 Advent of Code challenge. I'll be attempting to solve every puzzle — but don't expect perfect or reliable code.
You can attempt these awesome puzzles for yourself at https://adventofcode.com/2020.
These solutions use Java 9, and make heavy use of the built-in Streams API.
The main method accepts 3 optional arguments: [day] [part] [version]. If no arguments are passed to the application,
then it will run all of the solutions and print them to the console.
| Day | Part 1 | Part 2 | Stars |
|---|---|---|---|
| 1 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 2 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 3 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 4 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 5 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 6 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 7 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 8 | ✔️ [V1] [V2] | ✔ [V1] | ⭐⭐ |
| 9 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 10 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 11 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 12 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 13 | ✔️ [V1] | ❌🤔 | ⭐ |
| 14 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 15 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 16 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 17 | ✔️ [V1] | ✔ [V1] | ⭐⭐ |
| 18 | ✔️ [V1] [V2] | ❌🤔 | ⭐ |
| 19 | 🕒 | 🕒 | |
| 20 | 🕒 | 🕒 | |
| 21 | 🕒 | 🕒 | |
| 22 | 🕒 | 🕒 | |
| 23 | 🕒 | 🕒 | |
| 24 | 🕒 | 🕒 | |
| 25 🎁 | 🕒 | 🕒 |