Amazon Interview Question

Given two int arrays, write a function which returns their intersection as an int array; analyze the time/space complexity of your function.

Amazon Interview Question: Given two int arrays, write a function which returns their intersection as an int array; analyze the time/space complexity of your function. | Glassdoor