python binary search
Peter Hansen
peter at engcorp.com
Sun Oct 28 08:08:17 EST 2001
Christy J wrote:
>
> I need a binary search tree in python that uses classes. I'm trying to
> count words from a file and spit out the number of times they occur
> and in alphabetical order. I got bintree[ [key, data], left, right]
> but don't know how to implement using classes.
I'd be interested to hear which school is teaching with Python.
Schools progressive enough to take a chance (a small one, mind
you, but they don't usually seem to think so) on something
not mainstream (i.e. not Java) are few and far between.
--
----------------------
Peter Hansen, P.Eng.
peter at engcorp.com
More information about the Python-list
mailing list