Posted by Lil' Viv on July 23, 2001 at 05:30:33:
In Reply to: Re: Problem 6.12 posted by Alan Fong on July 22, 2001 at 23:40:15:
: well, if you interpret too much into the problem, it might say unordered list, but it doesnt say that, so i interpret it to be single values passed through the stream, or whatever.
: in a lack of rules, make up your own. be prepared to fight for them though
I am just assuming that we can pass an unordered heap through, kinda like manually changing the values in the array, then straightening them out. =P In any event, that would allow us to answer the problem . . . maybe make the array/vector public to do that or something. Just a suggestion . . .