Solution for Unique Elements.