2023-12-02 16:02:20 +00:00
|
|
|
# Advent of Code 2023
|
|
|
|
|
|
|
|
Not really going for points here, just for fun :).
|
|
|
|
|
|
|
|
I'll probably try to vary languages a bit to get some variety.
|
|
|
|
|
2023-12-05 01:38:49 +00:00
|
|
|
## Notes
|
|
|
|
|
|
|
|
- I try not to use regex if I can help it (regex kinda takes the fun out of it and is harder to optimise if you are actually going for performance).
|
|
|
|
- Solutions are tidied up _a bit_, but not a lot. So this is definitely nowhere close being elegant code in a lot of cases.
|
|
|
|
|
|
|
|
## Solutions
|
|
|
|
|
2023-12-02 16:02:20 +00:00
|
|
|
### [Day 1](day1/)
|
|
|
|
**Language**: Python 3.12 (generics used)
|
|
|
|
|
|
|
|
### [Day 2](day2/)
|
2023-12-05 01:38:49 +00:00
|
|
|
**Language**: Python 3
|
|
|
|
|
|
|
|
### [Day 3](day3/)
|
|
|
|
**Language**: TypeScript (Deno)
|
2023-12-05 01:39:56 +00:00
|
|
|
|
2023-12-05 01:38:49 +00:00
|
|
|
**Note**: This one was re-written because what I initially wrote belongs on [r/programminghorror](https://www.reddit.com/r/programminghorror/).
|
|
|
|
|
|
|
|
### [Day 4](day4/)
|
2023-12-06 03:07:11 +00:00
|
|
|
**Language**: Golang
|
|
|
|
|
|
|
|
### [Day 5](day5/)
|
|
|
|
**Language**: Kotlin
|
|
|
|
|
2023-12-06 14:19:11 +00:00
|
|
|
**Note**: Here begin the optimisations! (some people got away with brute force, I decided not to even go there).
|
|
|
|
|
|
|
|
### [Day 6](day6/)
|
2023-12-07 05:45:05 +00:00
|
|
|
**Language**: Haskell
|
|
|
|
|
|
|
|
### [Day 7](day7/)
|
|
|
|
**Language**: JavaScript (Node)
|
|
|
|
|
2023-12-09 01:02:52 +00:00
|
|
|
**Note**: Yes, I used JSDoc for type-hints. But I think only insane people use JavaScript without JSDoc.
|
|
|
|
|
|
|
|
### [Day 8](day8/)
|
|
|
|
**Language**: Bash
|
|
|
|
|
2023-12-09 05:31:06 +00:00
|
|
|
**Note**: Here begin languages I'm not great at.
|
|
|
|
|
|
|
|
### [Day 9](day9/)
|
2023-12-10 08:25:30 +00:00
|
|
|
**Language**: Rust
|
|
|
|
|
|
|
|
### [Day 10](day10/)
|
|
|
|
**Language**: Lua
|