Yahoo Interview Question

What assumption will I add in order to develop a faster algorithm and how