System Design Problem Leetcode 150 Question