Amazon Interview Question

How do you find duplicate values in a list?