Skip to main content

Operations On Binary Tree

Project description

EasyBT

Make Binary trees easy for everyone

  • You can create a binary tree from a list and convert that binary tree into the list
               [1,2,3,4,5,6]         [1,2,None,4,5,6]

                     1                    1
                    / \                  / 
                   2   3                2  
                  /\   /               / \
                 4  5 6               4   5    
                                     /
                                    6                            

Back to the top

Installation

Python Version

  • Just Go Your Terminal Install It ( MAke sure that you have python already installed in your computer ):
pip install easybt 

Requirements:

python3

Documetation

from easybt.binarytree import BinaryTree  

bt=BinaryTree()
nums=[1,2,3,4,5,6]
root=bt.DesializeTree(nums)

Contributors

  1. Samir Patil

Back to the top

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easybt-0.0.3.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

easybt-0.0.3-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page