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.
Puzzle: https://adventofcode.com/2022/day/11
Solution:
https://github.com/haruska/aoc22/blob/main/src/day11.rs