Question

Write a function that finds the intersection of two arrays containing common elements?

Login to Submit

Examples

Input: [9, 7, 7, 8, 7, 4, 11]
Output: 8,4

Input: [10, 10, 8, 4]
Output: 4,3,7

Input: [4, 4, 3, 3, 7]
Output: 4,9,3