Metadata-Version: 2.1
Name: treesp
Version: 1.0.2
Summary: trees
Home-page: UNKNOWN
Author: Sidharth Parekh
Author-email: sidharthparekh1@gmail.com
License: UNKNOWN
Keywords: python,preorder,postorder,inorder,trees
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
License-File: LICENSE

# Treesp
This module helps you to perform operations on trees. The functions this module holds are 
- Insert
- maxDepth
- Indorder
- Preorder
- Postorder
- Levelorder
- Lowest common ancestor

## Installation
``` pip install treesp ```

## How to use it
we need to import module
``` from treesp import treesp as tp ```

To create a bst:-
You need to define a class which holds tree data structure
then you can simply use insert function to insert the nodes
``` tp.insert(j, 2) ```

To run other functions
``` k = tp.inorder(j) ```
Note:- the functions resturns a List

## Github repository
 ``` https://github.com/sidharth0611 ```

## License
Â© 2021 Sidharth Parekh

This repository is licensed under the MIT license. See LICENSE for details.


