Day 4: Ceres Search

Puzzle Description

Advent of Code 2024, Day 4

Scala Center Advent of Code 2024, Day 4

Full Solution Source

My Solution for 2024, Day 4

Benchmark

Part 1

Mean

Error

JVM

9598.762 μs

+/- 447.874 μs

JS

38006.574 μs

+/- 392.370 μs

Native

18788.517 μs

+/- 50.444 μs

Part 2

Mean

Error

JVM

1156.861 μs

+/- 16.386 μs

JS

1369.952 μs

+/- 3.541 μs

Native

1151.954 μs

+/- 5.198 μs

Run it in the browser!