Microsoft Interview Question

Return same elements from two arrays as fast as you can.