Pregunta de entrevista de Chegg

At onsite interview about puzzle.