Re: Hacker MUDSTEALER ALERT

From: Davies, Nathan (DaviesN@AECL.CA)
Date: 11/03/97


A stack is FIFO, First in, First out, as in push and pop.  A stack of
dishes.

A queue is LIFO, Last in, First out, like a conveyor belt.( so I
couldn't think of a good practical example, sue me :)

>Nathan Davies,
>
>On Mon, 3 Nov 1997, Angus Mezick wrote:
>
>>      A couple of fun questions to ask a potential coder:
>
>>      Why are manholes round?
>
>So the manhole cover can't fall through the hole itself.
>
>Here's a better question--
>What's the difference between a stack and a queue?
>
>whitey
>
>
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>     +------------------------------------------------------------+
>


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST