System Design Leetcode Problems Python