re: AoC Day 2: Inventory Management System VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks! Yeah, I originally had a very manual nested for-loop set up, but after I got the tests passing, I decided to make an effort to do everythi...

This was still bothering me, but I found the Itertools crate and the tuple_combinations method. Check out my updated solution in the thread. Itertools makes iterators even more powerful.

code of conduct - report abuse