What Doesn't Kill You, Makes You Stronger!
Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein
I need to implement a method sort ( int []x) to sort the array x using a priority queue.
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Originally posted by Garrett Rowe:
The requirement as stated by the OP was to use a priority queue . . .
Originally posted by Campbell Ritchie:
That sounds a lot simpler than what I thought. Thank you.
Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein
What Doesn't Kill You, Makes You Stronger!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |