Goldman Sachs interview question

Explain portfolio optimization, write it in a codepad