Publicis Sapient Interview Question

In technical interview i was asked to find the repetitive number from an array