I've completed "Restroom Redoubt" - Day 14 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/14
https://github.com/Manjago/aoc2024-maven/blob/master/src/main/kotlin/Day14.kt
Wow! A simulation is enough to solve the problem! But can the LLM solve it?
Day 12 was very challenging until I suddenly remembered a fact from high school: 'The number of sides of a polygon is equal to the number of its vertices'.
Aaaaaaah!
I just completed "Garden Groups" - Day 12 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/12
https://github.com/Manjago/aoc2024-maven/blob/master/src/main/kotlin/Day12.kt
The hardest part has been the counting of the sides
I just completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/11
https://github.com/Manjago/aoc2024-maven/blob/master/src/main/kotlin/Day11.kt
On the eleventh day, simple brute force is finally no longer a good solution! Long live dfs + memory!
I just completed "Hoof It" - Day 10 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/10
https://github.com/Manjago/aoc2024-maven/blob/master/src/main/kotlin/Day10.kt
The transition from part 1 to part 2 was instant because I had recorded all the possible paths
I just completed "Disk Fragmenter" - Day 9 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/9
https://github.com/Manjago/aoc2024-maven/blob/master/src/main/kotlin/Day09.kt
Joshua Bloch tweeted: "Does anyone actually use LinkedList? I wrote it, and I never use it".
I don't use LinkedList at work, but it came in handy for this particular task - inserting blocks in the middle of a list.
I just completed "Resonant Collinearity" - Day 8 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/8
https://github.com/Manjago/aoc2024-maven/blob/master/src/main/kotlin/Day08.kt
The key is to overload the ‘multiply by number’, ‘plus’ and ‘minus’ operators for the Point class
I just completed "Bridge Repair" - Day 7 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/7
https://github.com/Manjago/aoc2024-maven/blob/master/src/main/kotlin/Day07.kt
Again, just brute force through all possible variants. Not even the Kotlin coroutines were needed!
I just completed "Guard Gallivant" - Day 6 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/6
https://github.com/Manjago/aoc2024-maven/blob/master/src/main/kotlin/Day06.kt
Once again, a simulation of walking through a maze, successfully brutforced