Posted by Lil' Viv on July 23, 2001 at 05:28:53:
In Reply to: prob 4 posted by is anyone still up? on July 23, 2001 at 03:14:29:
Well, I am going to assume he didn't make a typo., and I think I have a decent way of doing it . . . we'll see. I'm guessing his wording, "show how" doesn't require actual hardcore compiling code?
: if anyone is still up checking the boards, can u offer some insight on problem 4 of homework.
: peiyu emailed us saying show how to implement FIFO queue (stack) with a priority queue.
: Does he really mean show how to implement a priority queue using a FIFO queue(stack)? Cuz it means more sense the other way around, cuz then you really would have to change the normal fifo queue to make it a priority queue..I dunno. I am probably thinking too much into it.