Pregunta de entrevista de Microsoft

Leetcode Question and a System Design Question