AirFi Interview Question

Traverse a Array to find duplicates, angular & JS basics