Metadata-Version: 2.1
Name: BinaryTreeSearcher
Version: 1.0.1
Summary: A simple binary tree search library
Home-page: https://github.com/DR-FREKE/BinaryTreeSearch
Author: Solomon Ndifereke
Author-email: solomonndi96@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

this is a trial library for python

**\*\*** HOW TO USE **\*\***

install the package by running
pip install BinaryTreeSearch

then import the package as
from BinaryTreeSearch.BinaryTreeClass import BinaryTreeSearch

create an instance of the class as
tree = BinaryTreeSearch();

then call the binarySearch method on the instance

the method takes in two arguement
-->> the tree you want to search through
-->> the item or number you are searching for

example
from BinaryTreeSearch.BinaryTreeClass import BinaryTreeSearch

tree = BinaryTreeSearch();

tree_list = [3, [8, [5, None, 11], 94], [7, 15, 29]]
isNumber = tree.binarySearch(tree_list, 11)

print(isNumber)


