here’s mine btw <
# advent-of-code
ooooh, so that's how you use LinkedList effectively, it has an iterator with iterator.add and iterator.remove methods. That makes sense.
I made an attempt at using LinkedList but still using the index-based methods for add and remove, and that performed horribly, for obvious reasons.
that was my first solution too, it was very inefficient and never finished for part II. after adapting to use the iterator, it got blazing fast 🙂