OCloud Solutions interview question

How to reserve a queue using a stack