Day 9: Smoke Basin

Puzzle Description

Advent of Code 2021, Day 9

Scala Center Advent of Code 2021, Day 9

Full Solution Source

My Solution for 2021, Day 9

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

Benchmark

Part 1

Mean

Error

JVM

1388.265 μs

+/- 29.769 μs

JS

1165.952 μs

+/- 2.134 μs

Native

2980.511 μs

+/- 3.147 μs

Haskell

4237.068 μs

+/- 126.051 μs

Part 2

Mean

Error

JVM

11246.780 μs

+/- 410.768 μs

JS

10440.365 μs

+/- 38.566 μs

Native

24309.805 μs

+/- 41.519 μs

Haskell

16635.612 μs

+/- 345.526 μs

Run it in the browser!