Day 11: "Monkey in the Middle"
The parsing of input was fairly hacky on this one. Could have probably made use of regexes. Interesting part two on figuring out the common divisor to keep values sane.
In Rust, best not to iterate over mutable vectors while also mutating those same elements. Keep the references immutable and return calculations instead of mutating in place.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!