Prometheus Group Interview Question

Find first duplicate number in a list