Pocket Gems interview question

Find the needle in the haystack.

Interview Answer

Anonymous

15 Sept 2015

The needle in the haystack algorithm. Although, the interviewer seemed to have wanted the greedy method for it.