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 π | π | π |