1. Given a 3 array like below
NSArray *a = [1,3,4,5];
NSArray *b = [-1,3,0,9];
NSArray *c = [0,31,32,22,6];
Find the elements from the three array which existing in atleast 2 arrays.
Eg: [3, 0]
Because 3 is presented in array a, b and 0 is presented in array b, c respectively.
-(NSArray)find2ElementsAtleastPresentIn2Arrays:(NSArray*)aList b::(NSArray*)bList c::(NSArray*)cList{
// -- your code here.
}