ID Analytics Interview Question

Most efficient algorithm for 5-10 digit string finding