Bloomberg interview question

3 programming exercises on HackerRank.