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
License
MIT LicenseFollow Binarytree
Other Useful Business Software
Demo Series - Small Business Backup By Veeam
Watch this on-demand demo series and learn how to protect your Microsoft 365 data with clear, simple, actionable steps that are easy to implement for businesses of all sizes.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Binarytree!