ZoomInfo Interview Question

Remove all duplicates from an array