Bloomberg interview question

LeetCode Easy/Medium Design and Graph