| ||||||||||
I get that reference! (I'm surprised that you do! That's before your time, missie! :-) Event Queues are queues in that we always pop from the head, but we don't insert at the tail. Instead, the Event Queue is always kept sorted in event time order, whether by sorting or by inserting into place. Mark Guzdial |
Totally correct – there can be more than one answer, and the implementation level does influence some of these questions. Stacks and queues are ADT's, Kyle. Trees and graphs can be talked about as ADTs, but we didn't really talk about them that way in this class. Mark Guzdial |