Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any standard Binary search tree implementation in python

I want to use a binary search tree. I know that python has support for dictionaries. But it is a hashmap implementation. I want to know if python has any standard binary search tree implementation which I can import. If there is no standard implementation can someone suggest any well tested third party implementation for it. Also it must run on python 2.7.x

like image 307
Sushant Gupta Avatar asked Nov 30 '25 12:11

Sushant Gupta


1 Answers

I can suggest open source code for binary search tree, https://github.com/pmontu/BSTPython

like image 180
user1787687 Avatar answered Dec 03 '25 01:12

user1787687



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!