Bloomberg interview question

typical leetcode and system design questions