Find intersection of 2 arrays

How do you find out intersection between two arrays
Case 1:  One array huge compared to the other array
Case 2: One array sorted
Case 3: Both arrays sorted
Case 4: Unsorted and of equal length

Leave a Reply