System Design Leetcode Problems Java