Design a sorting algorithm and/or data structure to find all the data members from one array that exist in another array. What would be the time complexity of a large data set or a small data set.

Difficulty 5
Helpful 5
Save 5
View 3339