py-bstrees
implements different types of binary search trees.
Reference: https://en.wikipedia.org/wiki/Binary_search_tree
In computer science, binary search trees (BST), sometimes called ordered or sorted binary trees, are a particular type of container: data structures that store "items" (such as numbers, names etc.) in memory. They allow fast lookup, addition and removal of items, and can be used to implement either dynamic sets of items, or lookup tables that allow finding an item by its key (e.g., finding the phone number of a person by name)."
To run this project you need the following dependencies:
- Python 3.6+
- Pipenv 2018+
$ git clone git@github.com:mendesmiguel/py-bstrees.git
To install all dependencies, you can use pipenv.
Pipenv will spin up a virtualenv and install the dependencies based on a Pipenv.lock
file inside the root of
the project.
$ cd py-bstrees/
$ pipenv install
$ python3 -m unittest
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
- Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
- Write a test which shows that the bug was fixed or that the feature works as expected.
- Send a pull request and bug the maintainer until it gets merged and published. :)