0

Although doubly-linked linked lists are simple to implement, I have done it so many times (in languages other than python) that I am sick and tired of doing it. Is there a something like a DLLNode class pre-defined in one of the standard python libraries?

Samuel Muldoon
  • 1,224
  • 3
  • 17
  • 1
    Possible duplicate of [Python Linked List](https://stackoverflow.com/questions/280243/python-linked-list) – Ari Cooper-Davis Nov 06 '19 at 17:25
  • 3
    There is no doubly linked list in the standard library, although [`collections.deque`](https://docs.python.org/3.8/library/collections.html#collections.deque) can be used as a makeshift one in some cases. You're probably best off using a third party library or implementing your own; see the possible duplicate question :-) – Ari Cooper-Davis Nov 06 '19 at 17:27

0 Answers0