Bloomberg interview question

Mostly behavioral, with one coding question