Day 21: Keypad Conundrum

Puzzle Description

Advent of Code 2024, Day 21

Scala Center Advent of Code 2024, Day 21

Full Solution Source

My Solution for 2024, Day 21

From all the people in the discord and from my experience, this was the "final boss" of this year.

Benchmark

Part 1

Mean

Error

JVM

384.479 μs

+/- 6.247 μs

JS

500.268 μs

+/- 0.982 μs

Native

586.626 μs

+/- 4.207 μs

Part 2

Mean

Error

JVM

5.394 ms

+/- 0.071 ms

JS

7.833 ms

+/- 0.035 ms

Native

7.545 ms

+/- 0.027 ms

Run it in the browser!