Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prawn-cake/data_structures

Pure python data structures implementations
https://github.com/prawn-cake/data_structures

data-structures datastructures python

Last synced: 21 days ago
JSON representation

Pure python data structures implementations

Awesome Lists containing this project

README

        

Data structures
================
[![Build Status](https://travis-ci.org/prawn-cake/data_structures.svg?branch=master)](https://travis-ci.org/prawn-cake/data_structures)
[![Coverage Status](https://coveralls.io/repos/github/prawn-cake/data_structures/badge.svg?branch=master)](https://coveralls.io/github/prawn-cake/data_structures?branch=master)

This is a pet project implementing different common and specific data structures in pure python.

The goal of this project learn and understand how different data structures work under the hood.

## Usage notes

I don't recommend to use it in your production environment **as is**.

I recommend try to find mature implementations, but in case you need to customize behaviour and mature implementation doesn't allow you to do it or it just doesn't exist,
my implementation is a good start to customize it for your needs.

## Data structures implemented

* Binary search tree
* Binary heap
* Graph (directed/undirected)
* basic find path function
* dijkstra search
* bfs
* [BK-Tree](https://en.wikipedia.org/wiki/BK-tree)
* [Prefix tree](https://en.wikipedia.org/wiki/Trie)
* [Disjoint set](https://en.wikipedia.org/wiki/Disjoint-set_data_structure)
* [Minimum spannin tree](https://en.wikipedia.org/wiki/Minimum_spanning_tree)

## Links

* [List of algorithms](https://en.wikipedia.org/wiki/List_of_algorithms)
* [List of data structures](https://en.wikipedia.org/wiki/List_of_data_structures)
* [Google Technical Development Guide](https://www.google.com/about/careers/students/guide-to-technical-development.html)

## Tests

tox