What is Nostr?
jpages /
npub1mr0…k4s2
2023-12-12 22:54:19

jpages on Nostr: Advent of Code - Day 12 Part 1 : 3h56:00 (rank 10562) Part 2 : 10h46:51 (rank 8638) ...

Advent of Code - Day 12

Part 1 : 3h56:00 (rank 10562)
Part 2 : 10h46:51 (rank 8638)

So far, this was the hardest day, by a mile.

I spent a long time in solving this problem, but I finally ended with a clear and concise code (about 80 lines).

Like most of the participants who solved the problem, I used a recursive search function with memoization. The code (in Scala) runs in about 600 ms for both parts combined.

I submitted a wrong answer again at my first attempt for Part 1.

#AdventOfCode
Author Public Key
npub1mr0wam5le7yta87mshdg2jrflgv9t0fq6gl4gkvaejw54k6z78gq9ek4s2