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-10 14:03:24 +00:00
|
|
|
### [Day 1](day01/)
|
2023-12-02 16:02:20 +00:00
|
|
|
**Language**: Python 3.12 (generics used)
|
|
|
|
|
2023-12-10 14:03:24 +00:00
|
|
|
### [Day 2](day02/)
|
2023-12-05 01:38:49 +00:00
|
|
|
**Language**: Python 3
|
|
|
|
|
2023-12-10 14:03:24 +00:00
|
|
|
### [Day 3](day03/)
|
2023-12-05 01:38:49 +00:00
|
|
|
**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/).
|
|
|
|
|
2023-12-10 14:03:24 +00:00
|
|
|
### [Day 4](day04/)
|
2023-12-06 03:07:11 +00:00
|
|
|
**Language**: Golang
|
|
|
|
|
2023-12-10 14:03:24 +00:00
|
|
|
### [Day 5](day05/)
|
2023-12-06 03:07:11 +00:00
|
|
|
**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).
|
|
|
|
|
2023-12-10 14:03:24 +00:00
|
|
|
### [Day 6](day06/)
|
2023-12-07 05:45:05 +00:00
|
|
|
**Language**: Haskell
|
|
|
|
|
2023-12-10 14:03:24 +00:00
|
|
|
### [Day 7](day07/)
|
2023-12-07 05:45:05 +00:00
|
|
|
**Language**: JavaScript (Node)
|
|
|
|
|
2023-12-10 14:03:24 +00:00
|
|
|
### [Day 8](day08/)
|
2023-12-09 01:02:52 +00:00
|
|
|
**Language**: Bash
|
|
|
|
|
2023-12-09 05:31:06 +00:00
|
|
|
**Note**: Here begin languages I'm not great at.
|
|
|
|
|
2023-12-10 14:03:24 +00:00
|
|
|
### [Day 9](day09/)
|
2023-12-10 08:25:30 +00:00
|
|
|
**Language**: Rust
|
|
|
|
|
|
|
|
### [Day 10](day10/)
|
2023-12-11 15:04:37 +00:00
|
|
|
**Language**: Lua
|
|
|
|
|
|
|
|
### [Day 11](day11/)
|
|
|
|
**Language**: Java (17)
|