i was wondering why stacks and queues r not traversable in data structures because the books i read dont really explain why so im kind of confused
i was wondering why stacks and queues r not traversable in data structures because the books i read dont really explain why so im kind of confused
just that the definition of a stack or a queue doesn't allow access to things that aren't on "top" or in "front". Nothing magical about it except that you've set up rules for how that data storage class works.
"You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter
ooooh thanx thats just want i needed a simple little definiton that my brain could understand
BODYSLAMMIN' 4EVER
Last edited by edshaft; 10-30-2002 at 10:47 AM.