Goldman Sachs interview question

Why should you avoid when possible using for loops