MathWorks Interview Question

implement a queue using the stack data structure.