DEV Community

Discussion on: AoC Day 3: No Matter How You Slice It

Collapse
 
quoll profile image
Paula Gearon

I initially thought that I should use my data structure from part one to solve part 2, but while figuring it out I realized that a different structure was much more effective. I like to make my functions for the first and second parts independent anyway, so it didn’t bother me to do it again. And it came out much smaller!