Siemens Interview Question

Algorithm to find common elements in two arrays