Bloomberg interview question

Leetcode questions + Design question