No matter what the problem is, it's always a people problem. Gerald M. Weinberg

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.



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]



No comments available!

Please login to add comments.