WebFX interview question

Q: Difference between a stack and a queue