Pregunta de entrevista de UKG

Leetcode Easy Question, and System design