Sprout Social interview question

Determine if two arrays have the same elements