Pergunta de entrevista da empresa Capital One

How would you take two arrays and "disjoin" them. Similar to the join function with SQL but the opposite.