python binary search

Jeff Dunnett jdunnett at uoguelph.ca
Sun Oct 28 19:44:37 EST 2001


In case your wondering the school that I attend teaches Python.  In fact it
is a main part of one of the first major software design course.  That is
the University of Guelph in Ontario Canada.  In fact the departement has
quite a lot of fallowers who like Python.

Jeff


Peter Hansen wrote:

> 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