Sabre Interview Question

question about generating pandigital numbers.