Pergunta de entrevista da empresa Bloomberg

How do you ind out if two lists are merging somewhere?