Nokia interview question

find a key in a array