Cisco Interview Question

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