What is Nostr?
jpages /
npub1mr0…k4s2
2023-12-07 17:56:24

jpages on Nostr: Advent of Code 2023 - Day 7 Part 1 : 5h16:30 (rank 23536) Part 2 : 5h52:59 (rank ...

Advent of Code 2023 - Day 7

Part 1 : 5h16:30 (rank 23536)
Part 2 : 5h52:59 (rank 19668)

I started very late, and I needed more than 2 hours to solve the part 1. I even submitted a wrong answer (the first time this year) as I had not seen that the rules for sorting hands were different from regular poker rules.

On the contrary, part 2 was quite easy. I took additional time to refactor the code, and improve its performances, reducing the runtime from 200 ms to 70 ms.

#AdventOfCode
Author Public Key
npub1mr0wam5le7yta87mshdg2jrflgv9t0fq6gl4gkvaejw54k6z78gq9ek4s2