Expedia Group Interview Question

find duplicate numbers in an array