Question d’entretien chez Siemens

Q.Stacks using 2 queues Q. Find the repeated element in array.