Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonbaars/adventofcode-java
adventOfCode(Language.JAVA);
https://github.com/simonbaars/adventofcode-java
advent-of-code advent-of-code-2018 advent-of-code-2019 advent-of-code-2020 advent-of-code-2021 advent-of-code-2022 adventofcode java
Last synced: about 4 hours ago
JSON representation
adventOfCode(Language.JAVA);
- Host: GitHub
- URL: https://github.com/simonbaars/adventofcode-java
- Owner: SimonBaars
- Created: 2019-12-03T13:14:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-26T12:16:31.000Z (11 months ago)
- Last Synced: 2024-07-01T15:20:21.687Z (4 months ago)
- Topics: advent-of-code, advent-of-code-2018, advent-of-code-2019, advent-of-code-2020, advent-of-code-2021, advent-of-code-2022, adventofcode, java
- Language: HTML
- Homepage:
- Size: 2.67 MB
- Stars: 51
- Watchers: 3
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# adventOfCode(Language.JAVA)
Hi there! Thanks for checking out my Advent of Code repo!
I solve Advent of Code problems in Java, making extensive use of its Stream API. I also like to refactor generic
concepts into abstractions, to keep the code as easy to read as possible. Though sometimes I still succumb to the chaos
monster!Feel free to use this repo to learn about solution directions, or fork it as a template for your own solutions :)
## 2023
### Days
- [Day 1](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day1.java)
- [Day 2](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day2.java)
- [Day 3](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day3.java)
- [Day 4](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day4.java)
- [Day 5](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day5.java)
- [Day 6](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day6.java)
- [Day 7](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day7.java)
- [Day 8](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day8.java)
- [Day 9](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day9.java)
- [Day 10](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day10.java)
- [Day 11](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day11.java)
- [Day 12](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day12.java)
- [Day 13](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day13.java)
- [Day 14](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day14.java)
- [Day 15](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day15.java)
- [Day 16](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day16.java)
- [Day 17](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day17.java) (
currently broken, will fix later™)
- [Day 18](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day18.java)
- [Day 19](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day19.java)
- [Day 20](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day20.java)
- [Day 21](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day21.java)
- [Day 22](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day22.java)
- [Day 23](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day23.java) (
warning: slow)
- [Day 24](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day24.java)
- [Day 25](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year23/days/Day25.java)## 2022
### Days
- [Day 1](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day1.java)
- [Day 2](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day2.java)
- [Day 3](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day3.java)
- [Day 4](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day4.java)
- [Day 5](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day5.java)
- [Day 6](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day6.java)
- [Day 7](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day7.java)
- [Day 8](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day8.java)
- [Day 9](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day9.java)
- [Day 10](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day10.java)
- [Day 11](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day11.java)
- [Day 12](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day12.java)
- [Day 13](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day13.java)
- [Day 14](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day14.java)
- [Day 15](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day15.java)
- [Day 16](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day16.java)
- [Day 17](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day17.java)
- [Day 18](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day18.java)
- [Day 19](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day19.java)
- [Day 20](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day20.java)
- [Day 21](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day21.java)
- [Day 22](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day22.java)
- [Day 23](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day23.java)
- [Day 24](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day24.java)
- [Day 25](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year22/days/Day25.java)### Console output
```
Day 1:
Part 1: 67633
Part 2: 199628Day 2:
Part 1: 15523
Part 2: 15702Day 3:
Part 1: 7742
Part 2: 2276Day 4:
Part 1: 485
Part 2: 857Day 5:
Part 1: FRDSQRRCD
Part 2: HRFTQVWNNDay 6:
Part 1: 1707
Part 2: 3697Day 7:
Part 1: 1444896
Part 2: 404395Day 8:
Part 1: 1713
Part 2: 268464Day 9:
Part 1: 5735
Part 2: 2478Day 10:
Part 1: 14420
Part 2:
██████░░░░░░████░░░░██░░░░░░░░██████░░░░██████░░░░████████░░░░████░░░░██░░░░██░░
██░░░░██░░██░░░░██░░██░░░░░░░░██░░░░██░░██░░░░██░░░░░░░░██░░██░░░░██░░██░░░░██░░
██░░░░██░░██░░░░░░░░██░░░░░░░░██░░░░██░░██████░░░░░░░░██░░░░██░░░░██░░██░░░░██░░
██████░░░░██░░████░░██░░░░░░░░██████░░░░██░░░░██░░░░██░░░░░░████████░░██░░░░██░░
██░░██░░░░██░░░░██░░██░░░░░░░░██░░██░░░░██░░░░██░░██░░░░░░░░██░░░░██░░██░░░░██░░
██░░░░██░░░░██████░░████████░░██░░░░██░░██████░░░░████████░░██░░░░██░░░░████░░░░Day 11:
Part 1: 108240
Part 2: 25712998901Day 12:
Part 1: 425
Part 2: 418Day 13:
Part 1: 6369
Part 2: 25800Day 14:
Part 1: 614
Part 2: 26170Day 15:
Part 1: 4961647
Part 2: 12274327017867Day 16:
Part 1: 1906
Part 2: 2548Day 17:
Part 1: 3141
Part 2: 1561739130391Day 18:
Part 1: 3576
Part 2: 2066Day 19:
Part 1: 1306
Part 2: 37604Day 20:
Part 1: 5498
Part 2: 3390007892081Day 21:
Part 1: 83056452926300
Part 2: 3469704905529Day 22:
Part 1: 58248
Part 2: 179091Day 23:
Part 1: 4195
Part 2: 1069Day 24:
Part 1: 266
Part 2: 853Day 25:
Part 1: 2=020-===0-1===2=020
Part 2: The More The Merrier
```## 2021
### Days
- [Day 1](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day1.java)
- [Day 2](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day2.java)
- [Day 3](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day3.java)
- [Day 4](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day4.java)
- [Day 5](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day5.java)
- [Day 6](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day6.java)
- [Day 7](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day7.java)
- [Day 8](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day8.java)
- [Day 9](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day9.java)
- [Day 10](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day10.java)
- [Day 11](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day11.java)
- [Day 12](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day12.java)
- [Day 13](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day13.java)
- [Day 14](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day14.java)
- [Day 15](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day15.java)
- [Day 16](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day16.java)
- [Day 17](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day17.java)
- [Day 18](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day18.java)
- [Day 19](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day19.java)
- [Day 20](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day20.java)
- [Day 21](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day21.java)
- [Day 22](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day22.java)
- [Day 23](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day23.java)
- [Day 24](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day24.java)
- [Day 25](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year21/days/Day25.java)### Console output
```
Day 1:
Part 1: 1184
Part 2: 1158Day 2:
Part 1: 1507611
Part 2: 1880593125Day 3:
Part 1: 3901196
Part 2: 4412188Day 4:
Part 1: 45031
Part 2: 2568Day 5:
Part 1: 6283
Part 2: 18864Day 6:
Part 1: 352151
Part 2: 1601616884019Day 7:
Part 1: 356992
Part 2: 101268110Day 8:
Part 1: 383
Part 2: 998900Day 9:
Part 1: 468
Part 2: 1280496Day 10:
Part 1: 392421
Part 2: 2769449099Day 11:
Part 1: 1594
Part 2: 437Day 12:
Part 1: 3779
Part 2: 96988Day 13:
Part 1: 647
Part 2:
1 1 1111 11 1 1 11 111 11 11
1 1 1 1 1 1 1 1 1 1 1 1
1111 111 1 1111 1 1 1 1 1
1 1 1 1 1 1 1 111 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1111 11 1 1 11 1 1 11 11Day 14:
Part 1: 3284
Part 2: 4302675529689Day 15:
Part 1: 741
Part 2: 2976Day 16:
Part 1: 871
Part 2: 68703010504Day 17:
Part 1: 8911
Part 2: 4748Day 18:
Part 1: 4207
Part 2: 4635Day 19:
Part 1: 326
Part 2: 10630Day 20:
Part 1: 5218
Part 2: 15527Day 21:
Part 1: 678468
Part 2: 131180774190079Day 22:
Part 1: 580810
Part 2: 1265621119006734Day 23:
Part 1: 13556
Part 2: 54200Day 24:
Part 1: 99799212949967
Part 2: 34198111816311Day 25:
Part 1: 441
Part 2: Merry Christmas
```## 2020
### Days
- [Day 1](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day1.java)
- [Day 2](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day2.java)
- [Day 3](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day3.java)
- [Day 4](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day4.java)
- [Day 5](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day5.java)
- [Day 6](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day6.java)
- [Day 7](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day7.java)
- [Day 8](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day8.java)
- [Day 9](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day9.java)
- [Day 10](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day10.java)
- [Day 11](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day11.java)
- [Day 12](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day12.java)
- [Day 13](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day13.java)
- [Day 14](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day14.java)
- [Day 15](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day15.java)
- [Day 16](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day16.java)
- [Day 17](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day17.java)
- [Day 18](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day18.java)
- [Day 19](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day19.java)
- [Day 20](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day20.java)
- [Day 21](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day21.java)
- [Day 22](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day22.java)
- [Day 23](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day23.java)
- [Day 24](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day24.java)
- [Day 25](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year20/days/Day25.java)### Console output
```
Day 1:
Part 1: 270144
Part 2: 261342720Day 2:
Part 1: 422
Part 2: 451Day 3:
Part 1: 254
Part 2: 1666768320Day 4:
Part 1: 222
Part 2: 140Day 5:
Part 1: 855
Part 2: 552Day 6:
Part 1: 7283
Part 2: 3520Day 7:
Part 1: 238
Part 2: 82930Day 8:
Part 1: 1420
Part 2: 1245Day 9:
Part 1: 373803594
Part 2: 51152360Day 10:
Part 1: 2812
Part 2: 386869246296064Day 11:
Part 1: 2243
Part 2: 2027Day 12:
Part 1: 820
Part 2: 66614Day 13:
Part 1: 2935
Part 2: 836024966345345Day 14:
Part 1: 14722016054794
Part 2: 3618217244644Day 15:
Part 1: 1294
Part 2: 573522Day 16:
Part 1: 26988
Part 2: 426362917709Day 17:
Part 1: 295
Part 2: 1972Day 18:
Part 1: 9535936849815
Part 2: 472171581333710Day 19:
Part 1: 104
Part 2: 314Day 20:
Part 1: 111936085519519
Part 2: 1792Day 21:
Part 1: 2786
Part 2: prxmdlz,ncjv,knprxg,lxjtns,vzzz,clg,cxfz,qdfpqDay 22:
Part 1: 33925
Part 2: 33441Day 23:
Part 1: 69425837
Part 2: 218882971435Day 24:
Part 1: 479
Part 2: 4135Day 25:
Part 1: 16881444
Part 2: That's all folks
```## 2019
### Days
- [Day 1](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day1.java)
- [Day 2](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day2.java)
- [Day 3](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day3.java)
- [Day 4](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day4.java)
- [Day 5](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day5.java)
- [Day 6](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day6.java)
- [Day 7](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day7.java)
- [Day 8](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day8.java)
- [Day 9](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day9.java)
- [Day 10](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day10.java)
- [Day 11](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day11.java)
- [Day 12](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day12.java)
- [Day 13](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day13.java)
- [Day 14](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day14.java)
- [Day 15](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day15.java)
- [Day 16](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day16.java)
- [Day 17](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day17.java)
- [Day 18](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day18.java)
- [Day 19](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day19.java)
- [Day 20](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day20.java)
- [Day 21](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day21.java)
- [Day 22](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day22.java)
- [Day 23](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day23.java)
- [Day 24](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day24.java)
- [Day 25](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year19/days/Day25.java)### Console output
Output of
running [Main.java](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode2019/Main.java):```
Day 1:
Part 1: 3514064
Part 2: 5268207Day 2:
Part 1: 8017076
Part 2: 3146Day 3:
Part 1: 303
Part 2: 11222Day 4:
Part 1: 481
Part 2: 299Day 5:
Part 1: 11049715
Part 2: 2140710Day 6:
Part 1: 186597
Part 2: 412Day 7:
Part 1: 116680
Part 2: 89603079Day 8:
Part 1: 1360
Part 2:
████ ███ █ █ ██ ███
█ █ █ █ █ █ █ █ █
███ █ █ █ █ █ █ █ █
█ ███ █ █ ████ ███
█ █ █ █ █ █ █ █
█ █ ██ █ █ █ █Day 9:
Part 1: 2518058886
Part 2: 44292Day 10:
Part 1: 299
Part 2: 1419Day 11:
Part 1: 2172
Part 2:
██ ████ █ ████ ████ ██ █ █ ███
█ █ █ █ █ █ █ █ █ █ █
█ ███ █ ███ ███ █ ████ █ █
█ █ █ █ █ █ ██ █ █ ███
█ █ █ █ █ █ █ █ █ █ █
██ ████ ████ ████ █ ███ █ █ █Day 12:
Part 1: 13399
Part 2: 312992287193064Day 13:
Part 1: 320
Part 2: 15156Day 14:
Part 1: 485720
Part 2: 3848998Day 15:
Part 1: 380
Part 2: 410Day 16:
Part 1: 12541048
Part 2: 62858988Day 17:
Part 1: 7404
Part 2: 929045Day 18:
Part 1: 5402
Part 2: 2138Day 19:
Part 1: 179
Part 2: 9760485Day 20:
Part 1: 498
Part 2: 5564Day 21:
Part 1: 19352864
Part 2: 1142488337Day 22:
Part 1: 7860
Part 2: 61256063148970Day 23:
Part 1: 17286
Part 2: 11249Day 24:
Part 1: 32506911
Part 2: 2025Day 25:
Part 1: 34095120
Part 2: MERRY CHRISTMAS!!
```## 2018
I never did the 2018 advent of code puzzles when the event was ongoing. I'm just doing them whenever I feel like it :)
### Days
- [Day 1](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day1.java)
- [Day 2](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day2.java)
- [Day 3](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day3.java)
- [Day 4](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day4.java)
- [Day 5](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day5.java)
- [Day 6](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day6.java)
- [Day 7](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day7.java)
- [Day 8](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day8.java)
- [Day 9](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day9.java)
- [Day 10](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day10.java)
- [Day 11](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day11.java)
- [Day 12](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day12.java)
- [Day 13](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day13.java)
- [Day 14](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day14.java)
- [Day 15](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day15.java)
- [Day 16](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day16.java)
- [Day 17](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day17.java)
- [Day 18](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day18.java)
- [Day 19](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day19.java)
- [Day 20](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day20.java)
- [Day 21](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day21.java)
- [Day 22](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day22.java)
- [Day 23](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day23.java)
- [Day 24](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day24.java)
- [Day 25](https://github.com/SimonBaars/AdventOfCode-Java/blob/master/src/main/java/com/sbaars/adventofcode/year18/days/Day25.java)### Console output
```
Day 1:
Part 1: 433
Part 2: 256Day 2:
Part 1: 5456
Part 2: megsdlpulxvinkatfoyzxcbvq
```