Domanda di colloquio di Yahoo

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