Senwell Solutions interview question

- remove the duplicates from an array use any language