https://kotlinlang.org logo
#advent-of-code
Title
# advent-of-code
t

todd.ginsberg

12/13/2017, 3:02 AM
My solution to part two was a bit different, I stored off all the nodes I'd seen previously (because they'll only ever show up in one group) and it turned out about 6x faster. But I only really did it that way because I wanted to write about it.
m

menegatti

12/13/2017, 8:25 AM
I thought about doing something like this but I didn’t know how to make it “backtrack” and check the list of nodes seen again
Completely forgot about sequence
very neat solution
11 Views