Nagravision Interview Question

to store unique elements in an array by using streams