Day 20: Trench Map

Puzzle Description

Advent of Code 2021, Day 20

Scala Center Advent of Code 2021, Day 20

Full Solution Source

My Solution for 2021, Day 20

Benchmark

Part 1

Mean

Error

JVM

16.855 ms

+/- 0.218 ms

JS

50.479 ms

+/- 0.201 ms

Native

36.052 ms

+/- 0.043 ms

Part 2

Mean

Error

JVM

808.236 ms

+/- 5.149 ms

JS

2768.801 ms

+/- 206.244 ms

Native

2074.544 ms

+/- 109.891 ms

Run it in the browser!