Fresherworld.com Interview Question

pass of integer from queue to stack and then again queue.