MathWorks Interview Question

Describe an algorithm (not in any specific language) to obtain the unique values of an array.

Interview Answer

Anonymous

Jan 23, 2014

Use pigeon hole principle.. use hashmap to implement it.