VatsalP / algorithm

Common algorithms and data structures implemented in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Algorithms and Data Structures implementation in Python

Data Structures implemented:

  • Singly Linked List (algorithm.single_list.SLinkedList)

  • Doubly Linked List (algorithm.double_list.LinkedList) implements Deque abstract class

    Can 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

About

Common algorithms and data structures implemented in Python

License:MIT License


Languages

Language:Python 100.0%