remove lazy_static for OnceCell’s Lazy<>
Signed-off-by: Stephen Waits <swaits@amazon.com>
cleanup many clippy pedantic warnings
Signed-off-by: Stephen Waits <swaits@amazon.com>
day 13 solution **after hints!**
Attempted a brute force solution.
After letting my i9 churn on it across all cores and hyperthreads for ~4 days, looked online and learned about Chinese Remainder Theorem. Applied code from Rosetta Code and success.
Signed-off-by: Stephen Waits <swaits@amazon.com>
day 15 - use the right data structure (HashMap, not BTreeMap)
Signed-off-by: Stephen Waits <swaits@amazon.com>
day 15 solutions (brute force, slow)
Signed-off-by: Stephen Waits <swaits@amazon.com>
more cleanup
- fix all clippy warnings
- add times(n: usize) iterator
Signed-off-by: Stephen Waits <swaits@amazon.com>
condense day 12 by combining pattern match arms
Signed-off-by: Stephen Waits <swaits@amazon.com>