Amazon interview question

Linear search using any language.