Pivox Labs interview question

A program on array to find a number