SPOILER ALERT: Answers are shown down below in the Answers section so please avoid that section if you're wary to that sort of thing.
- I'll be doing my best to keep up with the daily challenges, but I may fall behind by a day or two depending on how busy the holidays get.
- My solutions are biased towards readability, Rust idioms, best-case time-complexity, and minimizing allocations. Low-level tricks for optimal performance eschewed.
- I'll only be using the std lib; no external crates.
- Each problem comes with its own unit test using their respective example input (as opposed to the actual input).
- No effort was made to share utilities between problems, that includes the parts of each day. Each file is totally comprehensive in all the code needed to solve the problem is located in said file.
- If you have suggestions on how I could have done something better please open up an issue!
- Day 1, part 1
- Day 1, part 2
- Day 2, part 1
- Day 2, part 2
- Day 3, part 1
- Day 3, part 2
- Day 4, part 1
- Day 4, part 2
- Day 5, part 1
- Day 5, part 2
- Day 6, part 1
- Day 6, part 2
Day 1, part 1 => 70720
Day 1, part 2 => 207148
Day 2, part 1 => 11449
Day 2, part 2 => 13187
Day 3, part 1 => 8139
Day 3, part 2 => 2668
Day 4, part 1 => 477
Day 4, part 2 => 830
Day 5, part 1 => TGWSMRBPN
Day 5, part 2 => TZLTLWRNF
Day 6, part 1 => 1134
Day 6, part 2 => 2263