Donít worry if it doesnít work right. If everything did, youíd be out of a job. Mosherís Law

Intersection of Two given Arrays

Language Java | Level Intermediate | Category Data structure | September 8, 2015 9:44 am


Data structure Description

Write a program to find the intersection of Two given Arrays. The utility function takes two arrays and returns the intersection array.


Output

   					 

Array 1 values: [a, b, c, d]
Array 2 values: [c, d, e, f]
Intersection of two arrays: [c, d]

				    

Comments


No comments available!

Please login to add comments.