RetailMeNot interview question

given an array of strings, return the first one which appears only once in the array

Interview Answers

Anonymous

4 Dec 2014

use a hashset

Anonymous

22 Jan 2015

if it's php array_search(1, array_count_values($values));