OpenText interview question

Implement Set using an array.