Skip to main content

A Python datastructure library

Project description

Author: Harisankar Krishna Swamy Linkedin: in.linkedin.com/in/harisankar02krishnaswamy Blog: harisankar-krishnaswamy.blogspot.in

License:

Apache2 License

Contents:

This repo contains Hari's implementation of data structures in Python.

Newly added:

15 July 2018:

Python 3 & 2.7.15 support

Current implementation for:

Stack using python list Queue using python list Heap (Min & Max) using python list. Binary Search Tree with link inversion traversal SplayTree -do- LinkedList DoublyLinkedList SeperateChainHashTable (3 types of chaining using LinkedList, SplayTree, BinarySearchTree) DisjointSetWithUnion (uses uptree nodes and path compression) PriorityQueues InternStore

Features to Implement:

  • indicates priority.
  1. Thread Safety *
  2. Heap using linked tree ****
  3. Graphs *

INSTALL

pip install pycoils

USAGE

Refer: pycoils/examples package

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycoils-1.6.0.tar.gz (32.2 kB view hashes)

Uploaded Source

Built Distribution

pycoils-1.6.0-py3-none-any.whl (61.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page