Unify interview question

How can we improve the efficiency of code?