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

jpages on Nostr: Advent of Code 2023 - Day 10 Part 1 : 1h40:19 (rank 6825) Part 2 : 4h59:06 (rank ...

Advent of Code 2023 - Day 10

Part 1 : 1h40:19 (rank 6825)
Part 2 : 4h59:06 (rank 6548)

When I read the puzzle title ("Pipe Maze"), I already understood that this wouldn't be a walk in the park.

In part 1, the greatest difficulty lied in the handling of the starting position (i.e which pipe type is it ?).

Part 2 was really difficult. My first answer was off by 6, as I forgot an edge case. After the validation, I spent an additional hour to simplify the code.
Author Public Key
npub1mr0wam5le7yta87mshdg2jrflgv9t0fq6gl4gkvaejw54k6z78gq9ek4s2