Bloomberg interview question

Hackerrank, basic system design, HR