Bloomberg interview question

given two array, find out the same elements without sorting them