Software suppliers are trying to make their software packages more ‘user-friendly’… Their best approach so far has been to take all the old brochures and stamp the words ‘user-friendly’ on the cover. Bill Gates

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.