Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tonytw1/advent2023


https://github.com/tonytw1/advent2023

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

![day18](https://github.com/tonytw1/advent2023/assets/150238/2e29f826-5523-45de-a047-00da47f2fba9)

47/50 this year which was a personal best.

Kotlin seems to produce consistently lower line counts than Java.
The syntax for common operations like sort, map and filter is more memorable.

[Day 12](src/test/kotlin/Day12.kt) part 2 was the most enlightening exercise.

Part 1 was quickly solved using global vars.
It took alot of thought to successfully refactor the visit method into something with a cachable method signature.