questions for stacks and queues