in reply to The most efficient way for searching for an element in an array?
Otherwise, sort the three arrays using some external sort algorithm and then read them in parallel while looking for duplicates.