Pergunta de entrevista da empresa EPAM Systems

On the technical interview I had one bigger exercise: I had to write a method. The input was an array with integers and I had to return another array with a given condition.