Pregunta de entrevista de Fresherworld.com

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