Cisco interview question

How would you tell whether these two unsorted arrays are the same array?

Cisco Interview Question: How would you tell whether these two unsorted arrays are the same array? | Glassdoor