Capgemini Interview Question

Needle in a haystack program