Day 5: Print Queue

Puzzle Description

Advent of Code 2024, Day 5

Scala Center Advent of Code 2024, Day 5

Full Solution Source

My Solution for 2024, Day 5

Benchmark

Part 1

Mean

Error

JVM

10.537 ms

+/- 0.145 ms

JS

45.020 ms

+/- 0.181 ms

Native

28.943 ms

+/- 0.071 ms

Part 2

Mean

Error

JVM

356.776 ms

+/- 4.675 ms

JS

1957.048 ms

+/- 79.230 ms

Native

1205.623 ms

+/- 123.251 ms

Run it in the browser!