pylinkedlist - a Linked List library
This library provides linked lists so that you won't have to build your own! (especially for those evil interviews)
Installation
pip install linkedlistpy
Quick start
from linkedlistpy import LinkedList
linked_list = LinkedList()
linked_list.append(1)
linked_list.append_left([3, "foo", tuple, true])
print(linked_list)
>> [3, "foo", tuple, true, 1]
linked_list.reverse()
print(linked_list)
>> [1, true, tuple, "foo", 3]
Features included (for now)
Linked Lists
- Singly Linked list
- Doubly Linked list
- Circular Linked list
- Circular Doubly Linked list
Methods
- built-in
- append
- append_left
- insert
- delete
- reverse