Combine two integer arrays
Find duplicate elements
Print only duplicates using Stream API
Input: int[] arr1 = {1,2,3,4,5,6};
int[] arr2 = {1,2,3,4,5,6,7,8,9};
Output: Duplicates: [1, 2, 3, 4, 5, 6]
Problem and solution in below link
https://sivanandareddy-technologies.b...