Binarytree is Python library that lets you generate, visualize, inspect and manipulate binary trees. Skip the tedious work of setting up test data, and dive straight into practicing algorithms. Heaps and BSTs (binary search trees) are also supported. Binarytree supports another representation which is more compact but without the indexing properties. Traverse trees using different algorithms.

Features

  • Requires Python 3.7+
  • Generate and pretty-print various types of binary trees
  • Build your own trees
  • Inspect tree properties
  • Compare and clone trees
  • Use level-order (breadth-first) indexes to manipulate nodes

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Binarytree

Binarytree Web Site

You Might Also Like
Achieve perfect load balancing with a flexible Open Source Load Balancer Icon
Achieve perfect load balancing with a flexible Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

Boost application security and continuity with SKUDONET ADC, our Open Source Load Balancer, that maximizes IT infrastructure flexibility. Additionally, save up to $470 K per incident with AI and SKUDONET solutions, further enhancing your organization’s risk management and cost-efficiency strategies.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Binarytree!

Additional Project Details

Programming Language

Python

Related Categories

Python Algorithms, Python Education Software, Python Libraries

Registered

2022-02-24