Bloomberg interview question

Similar to medium difficulty leetcode questions.