Bloomberg interview question

Tested breadth of statistical and programming knowledge.