Domanda di colloquio di Model N

All the rounds they ask this question Creating a queue from stack