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

nel_h2
Simply solve complex auth. Easy for devs to set up. Easy for non-devs to use. Icon
Simply solve complex auth. Easy for devs to set up. Easy for non-devs to use.

Transform user access with Frontegg CIAM: login box, SSO, MFA, multi-tenancy, and 99.99% uptime.

Custom auth drains 25% of dev time and risks 62% more breaches, stalling enterprise deals. Frontegg platform delivers a simple login box, seamless authentication (SSO, MFA, passwordless), robust multi-tenancy, and a customizable Admin Portal. Integrate fast with the React SDK, meet compliance needs, and focus on innovation.
Start for Free
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