Laserfiche Interview Question

The difference of stack and queue?