Pregunta de entrevista de Test

l2 leet code question with medium