Bloomberg interview question

General coding questions and algorithms