re: AoC Day 2: Inventory Management System VIEW POST

VIEW FULL DISCUSSION

This one was difficult for me, but I eventually got it! I'm also not happy about that double for loop in part 2, but I think I sped it up by removing the elements as I compared them?

github.com/stevieoberg/advent-of-c...

code of conduct - report abuse