Pregunta de entrevista de Epic

finding patterns within a list of sequential numbers