Comment Comment by mazokum I believe that collections.deque is implemented as a double linked list. I have used that data structure as a linked list a couple of times.https://docs.python.org/3/library/collections.html#collectio... parent mazokum 4 years ago
https://docs.python.org/3/library/collections.html#collectio...