Reputation: 9458
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
Upvotes: 3
Views: 460
Reputation: 326
I can suggest open source code for binary search tree, https://github.com/pmontu/BSTPython
Upvotes: 1