System Design Problem Leetcode Solutions C