What\'s the best algorithm for comparing two arrays to see if they have the same members?
Assume there are no duplicates, the members can be in any order, and that n
Obvious answers would be:
Which one you'd use would depend on whether you can sort the lists first, and whether you have a good hash algorithm handy.