Binarytree Versions Save

Python Library for Studying Binary Trees

6.5.1

2 years ago
  • Fixed broken graphviz import

6.5.0

2 years ago
  • Added support for str type node values. The values are compared using Python's default string comparators.
  • Generator functions binarytree.tree, binarytree.heap and binarytree.bst now accept a new letters: bool parameter. If set to True (default: False), the generated tree nodes will have uppercase string values like "A".

6.4.0

2 years ago
  • Bumped up minimum dependency versions (e.g. setuptools, pytest, mypy)
  • Deprecated support for Python 3.6
  • Added get_index function.

6.3.0

3 years ago

6.2.0

3 years ago
  • Binarytree now works with Jupyter Notebooks natively (no dependence on Jupyter Notebook).

6.1.0

3 years ago
  • Added Python type hint annotations.

6.0.0

3 years ago
  • Added support for Graphviz and Jupyter Notebooks (documentation).
  • Moved CI/CD from TravisCI to Github Actions.
  • Dropped support for Python 2.7 and 3.5
  • Added type hinting with full mypy compliance

5.1.0

3 years ago

5.0.0

3 years ago
  • Changed Node.value to Node.val to play nicely with leetcode. Node.value should still work for the most part, but it is kept only for backward compatibility and will be removed in the future.
  • Added support for Python 3.8.
  • Minor refactors for inorder, preorder, and postorder traversals.

4.1.0

4 years ago
  • Added new property is_symmetric.
  • Python 3.7 is now officially supported.