You can not have great software without a great team, and most software teams behave like dysfunctional families. Jim McCarthy

Union of Array Lists

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


Data structure Description

Two arrays (example array1 and array2) contains the list of string. Write a program to find Intersection and union of Array Lists.


Output

   					 

Array 1 items: [A, B, C]
Array 2 items: [B, C, D, E, F]
Intersection of two arrays: [B, C]
Union of two arrays: [A, B, C, D, E, F]

				    

Comments


No comments available!

Please login to add comments.