Question d’entretien chez Bajaj Finserv Health

Find duplicates in array in O(n)