AT&T interview question

How to make your code faster.