Prioritization function needed (recursive help!)

Paul Rubin http
Mon Jan 21 17:36:24 EST 2008


rh0dium <steven.klass at gmail.com> writes:
> I am really struggling on simply how to organize the data and write
> the corresponding function - I tried classes but I don't know if
> that's the best approach.  See my other post on this.

We just had a discussion thread about this.  Is it a homework problem?

Anyway, look up "topological sorting" in a CS textbook or on Wikipedia.



More information about the Python-list mailing list