Day 12: Garden Groups

My writeup is on the official Scala Center Advent of Code site: Scala Center Advent of Code 2024, Day 12

You can still run the solution and view the benchmark here:

Benchmark

Part 1

Mean

Error

JVM

203.851 ms

+/- 4.250 ms

JS

1106.449 ms

+/- 17.764 ms

Native

508.584 ms

+/- 6.512 ms

Part 2

Mean

Error

JVM

473.524 ms

+/- 10.952 ms

JS

2005.086 ms

+/- 461.489 ms

Native

1063.194 ms

+/- 17.211 ms

Run it in the browser!