Photo by Philipp Medicus (CC BY-NC 2.0)
Doing puzzle #2 of advent of code challenge in Rust. The puzzle is pretty simple. Input looks like this:
After first puzzle in advent of code i found a function that can be reused:
Photo by Mike Baird (CC BY 2.0) Cropped.