|
1 | | -# advent-of-code-22-kotlin |
| 1 | +# Advent of Code 2022 in Kotlin |
2 | 2 |
|
3 | | -Welcome to the Advent of Code[^aoc] Kotlin project created by [lakiboy][github] using the [Advent of Code Kotlin Template][template] delivered by JetBrains. |
| 3 | +[](https://dl.circleci.com/status-badge/redirect/gh/lakiboy/advent-of-code-22-kotlin/tree/reorganization) |
4 | 4 |
|
5 | | -In this repository, lakiboy is about to provide solutions for the puzzles using [Kotlin][kotlin] language. |
| 5 | +My solutions (WIP) for the [Advent of Code 2022](https://adventofcode.com/2022) puzzles in [Kotlin](https://kotlinlang.org). |
6 | 6 |
|
7 | | -If you're stuck with Kotlin-specific questions or anything related to this template, check out the following resources: |
| 7 | +The ultimate goal: |
8 | 8 |
|
9 | | -- [Kotlin docs][docs] |
10 | | -- [Kotlin Slack][slack] |
11 | | -- Template [issue tracker][issues] |
| 9 | + - to play around with Kotlin and improve [Standard library](https://kotlinlang.org/api/latest/jvm/stdlib/) knowledge; |
| 10 | + - to revisit some algorithms and stay in shape; |
| 11 | + - to play around with [benchmarking](https://github.com/Kotlin/kotlinx-benchmark); |
| 12 | + - and most importantly to have fun. |
12 | 13 |
|
| 14 | +## Puzzles |
13 | 15 |
|
14 | | -[^aoc]: |
15 | | - [Advent of Code][aoc] – An annual event of Christmas-oriented programming challenges started December 2015. |
16 | | - Every year since then, beginning on the first day of December, a programming puzzle is published every day for twenty-five days. |
17 | | - You can solve the puzzle and provide an answer using the language of your choice. |
18 | | - |
19 | | -[aoc]: https://adventofcode.com |
20 | | -[docs]: https://kotlinlang.org/docs/home.html |
21 | | -[github]: https://github.com/lakiboy |
22 | | -[issues]: https://github.com/kotlin-hands-on/advent-of-code-kotlin-template/issues |
23 | | -[kotlin]: https://kotlinlang.org |
24 | | -[slack]: https://surveys.jetbrains.com/s3/kotlin-slack-sign-up |
25 | | -[template]: https://github.com/kotlin-hands-on/advent-of-code-kotlin-template |
| 16 | +| Day | Title | Task | Input | Solution | Test | |
| 17 | +|-----|-------------------------|----------------------------------------------|--------------------------------------|--------------------------------------------------------|----------------------------------------------------------| |
| 18 | +| 1 | Calorie Counting | [Docs](https://adventofcode.com/2022/day/1) | [Text](src/main/resources/day01.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day01.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day01Test.kt) | |
| 19 | +| 2 | Rock Paper Scissors | [Docs](https://adventofcode.com/2022/day/2) | [Text](src/main/resources/day02.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day02.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day02Test.kt) | |
| 20 | +| 3 | Rucksack Reorganization | [Docs](https://adventofcode.com/2022/day/3) | [Text](src/main/resources/day03.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day03.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day03Test.kt) | |
| 21 | +| 4 | Camp Cleanup | [Docs](https://adventofcode.com/2022/day/4) | [Text](src/main/resources/day04.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day04.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day04Test.kt) | |
| 22 | +| 5 | Supply Stacks | [Docs](https://adventofcode.com/2022/day/5) | [Text](src/main/resources/day05.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day05.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day05Test.kt) | |
| 23 | +| 6 | Tuning Trouble | [Docs](https://adventofcode.com/2022/day/6) | [Text](src/main/resources/day06.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day06.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day06Test.kt) | |
| 24 | +| 7 | No Space Left On Device | [Docs](https://adventofcode.com/2022/day/7) | [Text](src/main/resources/day07.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day07.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day07Test.kt) | |
| 25 | +| 8 | Treetop Tree House | [Docs](https://adventofcode.com/2022/day/8) | [Text](src/main/resources/day08.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day08.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day08Test.kt) | |
| 26 | +| 9 | Rope Bridge | [Docs](https://adventofcode.com/2022/day/9) | [Text](src/main/resources/day09.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day09.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day09Test.kt) | |
| 27 | +| 10 | Cathode-Ray Tube | [Docs](https://adventofcode.com/2022/day/10) | [Text](src/main/resources/day10.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day10.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day10Test.kt) | |
| 28 | +| 11 | Monkey in the Middle | [Docs](https://adventofcode.com/2022/day/11) | [Text](src/main/resources/day11.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day11.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day11Test.kt) | |
| 29 | +| 12 | Hill Climbing Algorithm | [Docs](https://adventofcode.com/2022/day/12) | [Text](src/main/resources/day12.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day12.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day12Test.kt) | |
| 30 | +| 13 | Distress Signal | [Docs](https://adventofcode.com/2022/day/13) | [Text](src/main/resources/day13.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day13.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day13Test.kt) | |
| 31 | +| 14 | Regolith Reservoir | [Docs](https://adventofcode.com/2022/day/14) | [Text](src/main/resources/day14.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day14.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day14Test.kt) | |
| 32 | +| 15 | Beacon Exclusion Zone | [Docs](https://adventofcode.com/2022/day/15) | [Text](src/main/resources/day15.txt) | [Source](src/main/kotlin/io/dmitrijs/aoc2022/Day15.kt) | [Test](src/test/kotlin/io/dmitrijs/aoc2022/Day15Test.kt) | |
0 commit comments