When someone says: 'I want a programming language in which I need only say what I wish done', give him a lollipop. Alan J. Perlis

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.