Day 21: Keypad Conundrum

Puzzle Description

Advent of Code 2024, Day 21

Scala Center Advent of Code 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

272.391 μs

+/- 3.652 μs

JS

599.254 μs

+/- 0.406 μs

Native

349.564 μs

+/- 1.601 μs

Part 2

Mean

Error

JVM

4.056 ms

+/- 0.067 ms

JS

10.451 ms

+/- 0.028 ms

Native

5.259 ms

+/- 0.005 ms

Run it in the browser!