MAQ Software Interview Question

Difference between stacks and queues