Lightcast interview question

To display the unique elements