Stack and Queue, Why?

Posted by Alon on Stack Overflow See other posts from Stack Overflow or by Alon
Published on 2010-01-15T21:41:24Z Indexed on 2010/05/08 15:38 UTC
Read the original article Hit count: 314

Filed under:
|
|

Why and when should I use stack or queue data structures instead of arrays/lists? Can you please show an example for a state thats it'll be better if you'll use stack or queue?

Thanks.

© Stack Overflow or respective owner

Related posts about stack

Related posts about queue