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
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