Day 14: Extended Polymerization

Puzzle Description

Advent of Code 2021, Day 14

Scala Center Advent of Code 2021, Day 14

Full Solution Source

My Solution for 2021, Day 14

There's no writeup yet, but you can view the benchmark and solution here:

Benchmark

Part 1

Mean

Error

JVM

456.394 μs

+/- 8.105 μs

JS

451.170 μs

+/- 0.812 μs

Native

316.496 μs

+/- 1.844 μs

Part 2

Mean

Error

JVM

8.518 ms

+/- 0.175 ms

JS

15.523 ms

+/- 0.042 ms

Native

5.938 ms

+/- 0.005 ms

Run it in the browser!