I've just put together a Double-Ended Heap package. Of course I'd love comments. http://members.dsl-only.net/~daniels/deheap.html --Scott David Daniels scott.daniels at acm.org