Google interview question

Find an element in an array (and other simple coding problems)