Stacks And Queues: Choosing The Right Tool