Releases: joowani/binarytree
Releases · joowani/binarytree
6.5.1
6.5.0
- Added support for
str
type node values. The values are compared using Python's default string comparators. - Generator functions
binarytree.tree
,binarytree.heap
andbinarytree.bst
now accept a newletters: bool
parameter. If set toTrue
(default:False
), the generated tree nodes will have uppercase string values like"A"
.
6.4.0
6.3.0
- Added new methods binarytree.Node.equals and binarytree.Node.clone.
- Added functions to support another version of list representation (can be found in LeetCode): binarytree.Node.values2 and binarytree.build2.
6.2.0
6.1.0
6.0.0
- 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
- Added get_parent method.
5.0.0
- Changed
Node.value
toNode.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.