Goldman Sachs Interview Question

Explain portfolio optimization, write it in a codepad