Bajaj Markets interview question

Finding Duplicates from Integer Array....