Examples:
Input: arr1 [] = [1, 3, 4, 5, 7] arr2 [] = [2, 3, 5, 6] Output: Intersection: [3, 5 ]
We have a solution to this problem, please refer to to link lambda expressions and filter () .

Output:
Intersection: [3, 5]