binary tree in python?

Courageous jkraska1 at san.rr.com
Mon Nov 6 02:31:50 EST 2000


>i would like to know if there is any reference/documentation/code
>available on implementing a binary tree in python.

Well, sort of. There's a priority queue at the Vaults of Parnassus.
I presume it's implemented using a heap structure, which is a binary
tree in some sense:

http://www.vex.net/parnassus/apyllo.py/514463245.769244789

Out of curiousity, what exactly do you want your binary tree for,
and what is it you intend to do with it?

C//






More information about the Python-list mailing list