Sunday, October 3, 2010

Intersection of two sorted/unsorted arrays

Print the intersection of two arrays given
1. If two arrays are sorted.
2. If two arrays are unsorted.