Question d’entretien chez FlightAware

Given two arrays, return an array containing the elements in either array but not both.