Pergunta de entrevista da empresa PAX Technology

What do you do at your free time? Why do you wanna join pax? Given an int array, return whether this array has duplicate. Given the same int array, find the duplicate number. Given an int array, return the most appeared duplicated number.