Pregunta de entrevista de Tyemill

Easy leetcode question + design question