Microsoft Interview Question

Algorithm problem: leetcode medium System design