Skip to content

2.0.0

Compare
Choose a tag to compare
@joowani joowani released this 07 Aug 09:19
  • Renamed parameter balanced to is_balanced for function binarytree.tree.
  • Renamed parameter max to is_max for function binarytree.heap.
  • Renamed function binarytree.pprint to binarytree.show.
  • Ranamed function binarytree.setup to binarytree.customize.
  • Added new utility functions using level-order node IDs: binarytree.show_ids, binarytree.show_all, binarytree.subtree, binarytree.prune (view the README for more details and examples).
  • Added new utility function for getting leaf nodes: binarytree.leafs.
  • Removed the ability to pretty print the tree directly using the python print keyword (e.g. print(mytree)). New ways to print them are mytree.show() or show(mytree).