Question d’entretien chez Goldman Sachs

Solving a coding problem about finding common element between 2 arrays.