伪代码:
NSArray *arr1 = {"mike","george","Tim","Tom"...}
NSArray *arr2 = {"mike","george","Chris","Adam"...}
NSArray *arr3 = {"Don","george","mike","Tom"...}
NSArray *arr4 = {"george","Nicole","Moe","mike"...}
//Add these arrays to the dictionary
for(int i=0; i<n, i++)
[dictionary addObject:arr[i]];
我想找到所有数组中存在的重复值,而不是一些。在此示例中,该值将是 {"george","mike"}。