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

Other Useful Business Software
Comprehensive Cybersecurity to Safeguard Your Organization | SOCRadar Icon
Comprehensive Cybersecurity to Safeguard Your Organization | SOCRadar

See what hackers already know about your organization – and stop them from getting in.

Protect your organization from cyber threats with SOCRadar’s cutting-edge threat intelligence. Gain 360° visibility into your digital assets, monitor the dark web, and stay ahead of hackers with real-time insights. Start for free and transform your cybersecurity today.
Free Trial
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