Day 3: Rucksack Reorganization

Puzzle Description

Advent of Code 2022, Day 3

Scala Center Advent of Code 2022, Day 3

Full Solution Source

My Solution for 2022, Day 3

Benchmark

Part 1

Mean

Error

JVM

791.147 μs

+/- 3.617 μs

JS

994.234 μs

+/- 1.984 μs

Native

686.174 μs

+/- 0.649 μs

Part 2

Mean

Error

JVM

1903.838 μs

+/- 22.125 μs

JS

4728.747 μs

+/- 79.165 μs

Native

1272.896 μs

+/- 1.185 μs

Run it in the browser!