WTW Interview Question

How to make a coding more efficient?