Binarytree: Python Library for Studying Binary Trees

GitHub License Python Versions

Welcome to the documentation for binarytree.

Binarytree is Python library which lets you generate, visualize, inspect and manipulate binary trees. Skip the tedious work of setting up test data, and dive straight into practising algorithms. Heaps and BSTs (binary search trees) are also supported.


Python 3.6+


Install via pip:

pip install binarytree

For conda users:

conda install binarytree -c conda-forge