Chain-Sys Interview Question

Remove duplicate elements in an array