Pregunta de entrevista de Qualcomm

How to transfer elements from a stack to another stack using queue.