Bloomberg interview question

Leetcode medium/medium hard questions, low level design question