I need to write a class ArraySearch<E> that has these two methods inside:


int find (E [] haystack, E needle);
int first_duplicate (E [] data);

The "find" method searches the...