Manulife interview question

Difference between stack and queue