IBM Interview Question

Numbers with repeated digits, and an array of those