Bloomberg Interview Question

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