Tripadvisor interview question

find numbers in an array