System Design Problem Leetcode Python Solutions