Cisco Interview Question

How would you find the duplicate element in a list