Can somebody give me a python code for this?

hg hg at nospam.org
Wed Feb 7 08:19:53 EST 2007


John wrote:

> Given an array of elements, look at it as a binary tree. Start at the last
> interior node, and downheap it. Then downheap the previous interior node,
> and continue in this fashion, up to the root.

Your teacher ?




More information about the Python-list mailing list