Data Structures implemented:
-
Singly Linked List (
algorithm.single_list.SLinkedList
) -
Doubly Linked List (
algorithm.double_list.LinkedList
) implementsDeque
abstract classCan use all the Deque methods in O(1)
- appendleft()
- append()
- popleft()
- pop()
Clone:
git clone https://github.com/VatsalP/algorithm
Install:
python setup.py install
Run tests:
python setup.py pytest