Question: intersection of two java arrays
I am trying to figure out how to compare two arrays and get the intersection and put this into a third array of the correct size. I know how to copy the two arrays into the third array but am having trouble doing the comparison and having it copy into the third. I cannot use set collections with the program either. Any help on the direction to go would be helpful. Thanks.