Blume Global Interview Question

implementing queue using stack