> Any examples using the `lists` module? Originally I used `SinglyLinkedRing`, but then I manually manipulated some of the nodes inside of it.
It looked like this (SPOILERS!!!): curr.next = pickedUp[^1].next pickedUp[^1].next = wanted.next wanted.next = pickedUp[0] circle.head = curr.next Run In the end, I re-implemented the whole thing to just use a sequence of "pointers" to the next element. 10x less execution time and 10x less memory usage. [Full code](https://github.com/narimiran/AdventOfCode2020/blob/master/nim/day23.nim).