IBM Interview Question

Basic leetcode and system design