Fresherworld.com interview question

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